summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/svtools/brwbox.hxx4
-rw-r--r--include/vcl/toolkit/treelistbox.hxx4
-rw-r--r--include/vcl/window.hxx8
3 files changed, 6 insertions, 10 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index 2b813e192cb6..1d106d1ddaf1 100644
--- a/include/svtools/brwbox.hxx
+++ b/include/svtools/brwbox.hxx
@@ -208,11 +208,9 @@ public:
void LeaveUpdateLock();
void Update();
void DoOutstandingInvalidations();
- void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE ) override;
- void Invalidate( const tools::Rectangle& rRect, InvalidateFlags nFlags = InvalidateFlags::NONE ) override;
- using Control::Invalidate;
private:
+ virtual void ImplInvalidate( const vcl::Region* pRegion, InvalidateFlags nFlags ) override;
void StartRowDividerDrag( const Point& _rStartPos );
bool ImplRowDividerHitTest( const BrowserMouseEvent& _rEvent ) const;
};
diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx
index 0fd864f9d104..da6785679ad5 100644
--- a/include/vcl/toolkit/treelistbox.hxx
+++ b/include/vcl/toolkit/treelistbox.hxx
@@ -637,9 +637,7 @@ public:
void SetCurEntry( SvTreeListEntry* _pEntry );
SvTreeListEntry* GetCurEntry() const;
- using Window::Invalidate;
- virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE) override;
- virtual void Invalidate( const tools::Rectangle&, InvalidateFlags nFlags = InvalidateFlags::NONE ) override;
+ virtual void ImplInvalidate( const vcl::Region* rRegion, InvalidateFlags nFlags ) override;
void SetHighlightRange(sal_uInt16 nFirstTab=0, sal_uInt16 nLastTab=0xffff);
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 4eb929804573..9db3125be3f5 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -577,7 +577,7 @@ protected:
SAL_DLLPRIVATE vcl::Window* ImplGetBorderWindow() const;
- SAL_DLLPRIVATE void ImplInvalidate( const vcl::Region* rRegion, InvalidateFlags nFlags );
+ virtual void ImplInvalidate( const vcl::Region* pRegion, InvalidateFlags nFlags );
virtual WindowHitTest ImplHitTest( const Point& rFramePos );
@@ -955,9 +955,9 @@ public:
ScrollFlags nFlags = ScrollFlags::NONE );
void Scroll( tools::Long nHorzScroll, tools::Long nVertScroll,
const tools::Rectangle& rRect, ScrollFlags nFlags = ScrollFlags::NONE );
- virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE );
- virtual void Invalidate( const tools::Rectangle& rRect, InvalidateFlags nFlags = InvalidateFlags::NONE );
- virtual void Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags = InvalidateFlags::NONE );
+ void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE );
+ void Invalidate( const tools::Rectangle& rRect, InvalidateFlags nFlags = InvalidateFlags::NONE );
+ void Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags = InvalidateFlags::NONE );
/**
* Notification about some rectangle of the output device got invalidated.Used for the main
* document window.