summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-28 10:08:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 08:33:36 +0200
commit15c9be2bbb9e0ee8853a982f96338960a80d6ee5 (patch)
treea0306a6218dc6e8cefcc9011d156770ead91381b /include
parent29db56381dc19baa77c39f4f2f69c8c587eddcad (diff)
loplugin:virtualdown in vcl
Change-Id: Iea173295b7bc5e7f8a5e0215dc13ab32190c6f8f Reviewed-on: https://gerrit.libreoffice.org/51999 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx8
-rw-r--r--include/vcl/window.hxx7
2 files changed, 6 insertions, 9 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 4b766ccd797a..649faa6388ef 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1786,14 +1786,6 @@ public:
SAL_DLLPRIVATE DeviceCoordinate LogicWidthToDeviceCoordinate( long nWidth ) const;
-protected:
- /**
- * Notification about some rectangle of the output device got invalidated.
- *
- * @param pRectangle If 0, that means the whole area, otherwise the area in logic coordinates.
- */
- virtual void LogicInvalidate(const tools::Rectangle* /*pRectangle*/) {}
-
private:
/** Convert a logical X coordinate to a device pixel's X coordinate.
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index e6a56466d6e6..ddc9ae0408a5 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1074,7 +1074,12 @@ public:
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 );
- virtual void LogicInvalidate(const tools::Rectangle* pRectangle) override;
+ /**
+ * Notification about some rectangle of the output device got invalidated.
+ *
+ * @param pRectangle If 0, that means the whole area, otherwise the area in logic coordinates.
+ */
+ virtual void LogicInvalidate(const tools::Rectangle* pRectangle);
void Validate();
bool HasPaintEvent() const;
void Update();