summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-22 23:33:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-22 23:33:23 +0100
commit14aeace3a192219b2aba1586c09806a482d89ee0 (patch)
tree4c19eb375a49e70d4991d9c20a0aef139e1a54f2 /sc/inc/document.hxx
parent8dd60a43d814667c34c48d969eb020d262bc4e39 (diff)
Pass SfxPrinter by VclPtr
Change-Id: Id5a8949e6995be70f3d831e98449f5d10bcb040f
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 3d5d8f77457a..25e3c4b4bdba 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1901,7 +1901,7 @@ public:
SCTAB nTab );
SfxPrinter* GetPrinter( bool bCreateIfNotExist = true );
- void SetPrinter( SfxPrinter* pNewPrinter );
+ void SetPrinter( VclPtr<SfxPrinter> const & pNewPrinter );
VirtualDevice* GetVirtualDevice_100th_mm();
SC_DLLPUBLIC OutputDevice* GetRefDevice(); // WYSIWYG: Printer, otherwise VirtualDevice...