summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/cbutton.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/cbutton.hxx')
-rw-r--r--sc/source/ui/inc/cbutton.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx
index f6b15a68ccea..2e8c8b1eac53 100644
--- a/sc/source/ui/inc/cbutton.hxx
+++ b/sc/source/ui/inc/cbutton.hxx
@@ -22,6 +22,7 @@
#include <tools/gen.hxx>
#include <tools/color.hxx>
+#include <vcl/vclptr.hxx>
class OutputDevice;
@@ -60,7 +61,7 @@ private:
bool bState );
protected:
- OutputDevice* pOut;
+ VclPtr<OutputDevice> pOut;
Point aBtnPos;
Size aBtnSize;
};