summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/dpcontrol.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/dpcontrol.hxx')
-rw-r--r--sc/source/ui/inc/dpcontrol.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/dpcontrol.hxx b/sc/source/ui/inc/dpcontrol.hxx
index e574f672429b..e4030752386a 100644
--- a/sc/source/ui/inc/dpcontrol.hxx
+++ b/sc/source/ui/inc/dpcontrol.hxx
@@ -23,6 +23,7 @@
#include <rtl/ustring.hxx>
#include <tools/gen.hxx>
#include <tools/fract.hxx>
+#include <vcl/vclptr.hxx>
class OutputDevice;
class Point;
@@ -62,7 +63,7 @@ private:
Fraction maZoomX;
Fraction maZoomY;
ScDocument* mpDoc;
- OutputDevice* mpOutDev;
+ VclPtr<OutputDevice> mpOutDev;
const StyleSettings* mpStyle;
bool mbBaseButton;
bool mbPopupButton;