From e3978d0bf4283f6a8b39c2e7a4f980ac92631280 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 23 Mar 2017 09:12:10 -0400 Subject: Remove unused invalidate flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The flag passed to the DocEnvironment::InvalidateRect method is not used. Remove. Change-Id: I2a996e0bbf7f6a010c985bf4e9df0084dc0a7ea3 Reviewed-on: https://pdfium-review.googlesource.com/3154 Commit-Queue: dsinclair Reviewed-by: Nicolás Peña --- xfa/fxfa/fxfa.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'xfa/fxfa/fxfa.h') diff --git a/xfa/fxfa/fxfa.h b/xfa/fxfa/fxfa.h index cfe5618e6e..38b11ee17c 100644 --- a/xfa/fxfa/fxfa.h +++ b/xfa/fxfa/fxfa.h @@ -52,8 +52,6 @@ class IXFA_WidgetIterator; #define XFA_VALIDATE_preExecute 3 #define XFA_VALIDATE_preSave 4 -#define XFA_INVALIDATE_AllPages 0x00000000 -#define XFA_INVALIDATE_CurrentPage 0x00000001 #define XFA_PRINTOPT_ShowDialog 0x00000001 #define XFA_PRINTOPT_CanCancel 0x00000002 #define XFA_PRINTOPT_ShrinkPage 0x00000004 @@ -230,8 +228,7 @@ class IXFA_DocEnvironment { virtual void SetChangeMark(CXFA_FFDoc* hDoc) = 0; virtual void InvalidateRect(CXFA_FFPageView* pPageView, - const CFX_RectF& rt, - uint32_t dwFlags) = 0; + const CFX_RectF& rt) = 0; virtual void DisplayCaret(CXFA_FFWidget* hWidget, bool bVisible, const CFX_RectF* pRtAnchor) = 0; -- cgit v1.2.3