summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2019-07-15 19:14:36 +1000
committerMichael Meeks <michael.meeks@collabora.com>2019-07-27 15:23:30 +0200
commit67950f00989dff4640ba83e540673375a2c60a13 (patch)
treecd4d35ab9f9e7cfbe9ee55cc00cf5d5c92ba0da3 /include/vcl
parent7360ddd34aa446e6439c733ef0f819a58d709744 (diff)
tdf#74702: vcl add OutputDevice::Flush() to remove GetOutDevType()
Change-Id: I3e8775845e471517945876a48696747a46e5270a Reviewed-on: https://gerrit.libreoffice.org/75616 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/outdev.hxx1
-rw-r--r--include/vcl/window.hxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index b18150cefd38..3151abbe1e9c 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -539,6 +539,7 @@ public:
///@{
public:
+ virtual void Flush() {}
virtual void DrawOutDev(
const Point& rDestPt, const Size& rDestSize,
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index e1a91e9e1e35..bdc4ea3d0019 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1063,7 +1063,7 @@ public:
void Validate();
bool HasPaintEvent() const;
void Update();
- void Flush();
+ void Flush() override;
// toggles new docking support, enabled via toolkit
void EnableDocking( bool bEnable = true );