summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime de Roucy <mderoucy@linagora.com>2012-05-30 10:45:02 +0200
committerCaolán McNamara <caolanm@redhat.com>2012-06-25 16:38:50 +0100
commit85c69cbbf54016165053bccb5baaab4eec05dd24 (patch)
tree281063474f597aee72c1acb1259bec8991c03f3e
parenta77b96a8e8a426f2609531ec66dbdd219681a7de (diff)
Change unnecessary pointer dereference
Change-Id: I28404d9d1a18886361deae1aec583ef40c25ce85
-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;