summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/pwl/cpwl_caret.cpp2
-rw-r--r--fpdfsdk/pwl/cpwl_caret.h2
-rw-r--r--fpdfsdk/pwl/cpwl_edit.cpp2
-rw-r--r--fpdfsdk/pwl/cpwl_edit_ctrl.cpp2
-rw-r--r--fpdfsdk/pwl/cpwl_scroll_bar.cpp4
-rw-r--r--fpdfsdk/pwl/cpwl_wnd.cpp2
-rw-r--r--fpdfsdk/pwl/cpwl_wnd.h2
7 files changed, 8 insertions, 8 deletions
diff --git a/fpdfsdk/pwl/cpwl_caret.cpp b/fpdfsdk/pwl/cpwl_caret.cpp
index d309d2743b..65c0fc56c7 100644
--- a/fpdfsdk/pwl/cpwl_caret.cpp
+++ b/fpdfsdk/pwl/cpwl_caret.cpp
@@ -58,7 +58,7 @@ void CPWL_Caret::TimerProc() {
m_nDelay--;
} else {
m_bFlash = !m_bFlash;
- InvalidateRect();
+ InvalidateRect(nullptr);
}
}
diff --git a/fpdfsdk/pwl/cpwl_caret.h b/fpdfsdk/pwl/cpwl_caret.h
index a8ae5a3b74..5bba6fe9b1 100644
--- a/fpdfsdk/pwl/cpwl_caret.h
+++ b/fpdfsdk/pwl/cpwl_caret.h
@@ -18,7 +18,7 @@ class CPWL_Caret : public CPWL_Wnd {
CFX_ByteString GetClassName() const override;
void DrawThisAppearance(CFX_RenderDevice* pDevice,
CFX_Matrix* pUser2Device) override;
- void InvalidateRect(CFX_FloatRect* pRect = nullptr) override;
+ void InvalidateRect(CFX_FloatRect* pRect) override;
void SetVisible(bool bVisible) override {}
void TimerProc() override;
diff --git a/fpdfsdk/pwl/cpwl_edit.cpp b/fpdfsdk/pwl/cpwl_edit.cpp
index 438b0ac3c0..d01e3f147d 100644
--- a/fpdfsdk/pwl/cpwl_edit.cpp
+++ b/fpdfsdk/pwl/cpwl_edit.cpp
@@ -291,7 +291,7 @@ bool CPWL_Edit::OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) {
if (HasFlag(PES_TEXTOVERFLOW) || ClientHitTest(point)) {
if (m_bMouseDown)
- InvalidateRect();
+ InvalidateRect(nullptr);
m_bMouseDown = true;
SetCapture();
diff --git a/fpdfsdk/pwl/cpwl_edit_ctrl.cpp b/fpdfsdk/pwl/cpwl_edit_ctrl.cpp
index 1a7b0e4c49..3a79e0a1a8 100644
--- a/fpdfsdk/pwl/cpwl_edit_ctrl.cpp
+++ b/fpdfsdk/pwl/cpwl_edit_ctrl.cpp
@@ -265,7 +265,7 @@ bool CPWL_EditCtrl::OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) {
if (ClientHitTest(point)) {
if (m_bMouseDown)
- InvalidateRect();
+ InvalidateRect(nullptr);
m_bMouseDown = true;
SetCapture();
diff --git a/fpdfsdk/pwl/cpwl_scroll_bar.cpp b/fpdfsdk/pwl/cpwl_scroll_bar.cpp
index 19e4bc8b5f..142988a815 100644
--- a/fpdfsdk/pwl/cpwl_scroll_bar.cpp
+++ b/fpdfsdk/pwl/cpwl_scroll_bar.cpp
@@ -428,7 +428,7 @@ bool CPWL_ScrollBar::OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) {
if (HasFlag(PWS_AUTOTRANSPARENT)) {
if (GetTransparency() != 255) {
SetTransparency(255);
- InvalidateRect();
+ InvalidateRect(nullptr);
}
}
@@ -479,7 +479,7 @@ bool CPWL_ScrollBar::OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) {
if (HasFlag(PWS_AUTOTRANSPARENT)) {
if (GetTransparency() != PWL_SCROLLBAR_TRANSPARENCY) {
SetTransparency(PWL_SCROLLBAR_TRANSPARENCY);
- InvalidateRect();
+ InvalidateRect(nullptr);
}
}
diff --git a/fpdfsdk/pwl/cpwl_wnd.cpp b/fpdfsdk/pwl/cpwl_wnd.cpp
index c7bf23ce60..37d0bc4cf2 100644
--- a/fpdfsdk/pwl/cpwl_wnd.cpp
+++ b/fpdfsdk/pwl/cpwl_wnd.cpp
@@ -584,7 +584,7 @@ void CPWL_Wnd::SetVisible(bool bVisible) {
if (bVisible != m_bVisible) {
m_bVisible = bVisible;
RePosChildWnd();
- InvalidateRect();
+ InvalidateRect(nullptr);
}
}
diff --git a/fpdfsdk/pwl/cpwl_wnd.h b/fpdfsdk/pwl/cpwl_wnd.h
index 15487a3c07..78edaa26e5 100644
--- a/fpdfsdk/pwl/cpwl_wnd.h
+++ b/fpdfsdk/pwl/cpwl_wnd.h
@@ -175,7 +175,7 @@ class CPWL_Wnd : public CPWL_TimerHandler, public CFX_Observable<CPWL_Wnd> {
~CPWL_Wnd() override;
virtual CFX_ByteString GetClassName() const;
- virtual void InvalidateRect(CFX_FloatRect* pRect = nullptr);
+ virtual void InvalidateRect(CFX_FloatRect* pRect);
virtual bool OnKeyDown(uint16_t nChar, uint32_t nFlag);
virtual bool OnChar(uint16_t nChar, uint32_t nFlag);