summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-06-12 16:18:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-06-12 18:59:48 +0100
commit29eac0e49e372092cb119898e9f1116ab4e00532 (patch)
tree86a1413e7693bf6d41e5c795cafec47972803463 /include
parent7c983445656e1f1942cf2d7398a77342004ed168 (diff)
Resolves: tdf#100313 OutputDevice::isDisposed doesn't work anymore
since commit 51fe4d63dfdf0ea24d2fecf75d25cbe607ed1c09 Author: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Date: Tue May 3 00:34:05 2016 +0300 tdf#97527 vcl: reference-count Menu Change-Id: Ia12434fede69ad247ed67691517437a9ada31acd Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/24596 which created a base-class VclReferenceBase for OutputDevice and Menu and so moved isDisposed from OutputDevice to VclReferenceBase, but *duplicated* the mbDisposed in VclReferenceBase so the bit set by disposeOnce in OutputDevice was a different bit to the bit returned by isDisposed from VclReferenceBase. Which meant that the fix of... commit 26c32cfee9fc9a769adba19f455e4d6c13b6d89d Author: Caolán McNamara <caolanm@redhat.com> Date: Fri Nov 27 16:10:10 2015 +0000 Resolves: rhbz#1283426 using vdevs based on now dead physical devs is unsafe no longer worked. Finish moving the mbDisposed to VclReferenceBase to fix this Change-Id: I9bc1ba3d03f3aae7c3f58eb277176d9521bdb05d
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 1f32068a598c..22d1979c3a77 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -418,7 +418,6 @@ private:
mutable bool mbTextSpecial : 1;
mutable bool mbRefPoint : 1;
mutable bool mbEnableRTL : 1;
- mutable bool mbDisposed : 1;
/** @name Initialization and accessor functions
*/
@@ -426,15 +425,10 @@ private:
protected:
OutputDevice();
-public:
- virtual ~OutputDevice();
protected:
virtual void dispose() override;
public:
- void disposeOnce();
-
-public:
/** Get the graphic context that the output device uses to draw on.