summaryrefslogtreecommitdiffstats
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-23 09:14:13 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:06:20 +0100
commit0e491a7a2affbb08071e6378dacc1995cb301655 (patch)
treec93205745e1fcd69ff508a3d04aa064bb90606ae /include/vcl/outdev.hxx
parentprotect more printer code-paths. (diff)
downloadcore-0e491a7a2affbb08071e6378dacc1995cb301655.tar.gz
core-0e491a7a2affbb08071e6378dacc1995cb301655.zip
vclptr: add isDisposed method - and assert for it here & there.
Change-Id: I2b154e0ed9eee0a45900ada7f805a1d444a31bc0
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 b9d542fed31f..f5875b7ccea1 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -390,6 +390,7 @@ protected:
public:
/// call the dispose() method if we have not already been disposed.
void disposeOnce();
+ bool isDisposed() const { return mbDisposed; }
public: