summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2020-05-12 22:15:44 +1000
committerTomaž Vajngerl <quikee@gmail.com>2020-05-17 21:31:27 +0200
commitd2aca9c946f5977779256e6a3c2a3a0e21a6ed08 (patch)
tree1bbf77778b4ea76eccf72de04fb93e865232dbf8 /include/vcl/outdev.hxx
parentbc94fe8a7415cb0df0e613fb764f886f45a648e3 (diff)
vcl: refactor by creating OutputDevice::ClearStack()
Change-Id: Ica4400cdb1e5c24dfb302426548ac976da802c74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94343 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 1df0137cdcee..744f0b0b1f54 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -589,6 +589,7 @@ public:
// this should not normally be used since Push and Pop must always be used symmetrically
// however this may be e.g. a help when debugging code in which this somehow is not the case
sal_uInt32 GetGCStackDepth() const;
+ void ClearStack();
void EnableOutput( bool bEnable = true );
bool IsOutputEnabled() const { return mbOutput; }