summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/prevloc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/prevloc.hxx')
-rw-r--r--sc/source/ui/inc/prevloc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx
index 3a4b5bbbefee..3f59e330725e 100644
--- a/sc/source/ui/inc/prevloc.hxx
+++ b/sc/source/ui/inc/prevloc.hxx
@@ -82,7 +82,7 @@ public:
class ScPreviewLocationData
{
- OutputDevice* pWindow;
+ VclPtr<OutputDevice> pWindow;
ScDocument* pDoc;
MapMode aCellMapMode;
MapMode aDrawMapMode[SC_PREVIEW_MAXRANGES];