summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/SwXDocumentSettings.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/SwXDocumentSettings.hxx')
-rw-r--r--sw/source/uibase/uno/SwXDocumentSettings.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/SwXDocumentSettings.hxx b/sw/source/uibase/uno/SwXDocumentSettings.hxx
index 5485a1b971c6..20f30410f8ae 100644
--- a/sw/source/uibase/uno/SwXDocumentSettings.hxx
+++ b/sw/source/uibase/uno/SwXDocumentSettings.hxx
@@ -47,7 +47,7 @@ protected:
/** the printer should be set only once; since there are several
* printer-related properties, remember the last printer and set it in
* _postSetValues */
- SfxPrinter* mpPrinter;
+ VclPtr<SfxPrinter> mpPrinter;
virtual void _preSetValues ()
throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ) SAL_OVERRIDE;