summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/uno/SwXDocumentSettings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uno/SwXDocumentSettings.cxx b/sw/source/ui/uno/SwXDocumentSettings.cxx
index d988bf54f8bf..ff56b003f2a6 100644
--- a/sw/source/ui/uno/SwXDocumentSettings.cxx
+++ b/sw/source/ui/uno/SwXDocumentSettings.cxx
@@ -839,7 +839,7 @@ void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInf
break;
case HANDLE_PRINTER_SETUP:
{
- SfxPrinter *pPrinter = mpDocSh->GetDoc()->getPrinter( sal_False );
+ SfxPrinter *pPrinter = mpDoc->getPrinter( sal_False );
if (pPrinter)
{
SvMemoryStream aStream;