diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-26 08:45:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-26 19:09:18 +0200 |
commit | 7c70afbcc2a2aea243caf6ddac606c15a06fc5f9 (patch) | |
tree | 46fe9dc8b2ce7aad9f25c9ffd762e7beff4a4ae6 /include/svtools | |
parent | 70f84abd6379c47db96d81d4b028041daa8c5d24 (diff) |
improve override of Window::Invalidate(*)
rather than having to override 3 different methods, have them override
the ImplInvalidate, which is where the code ends up anywhere.
This already exposes a couple of places that were not overriding all 3
methods.
Change-Id: If76abcf18325b7138ea451fbd0213cd6c7b4daa5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154930
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/brwbox.hxx | 4 |
1 files changed, 1 insertions, 3 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; }; |