[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jun 25 08:38:57 PDT 2012


 sw/source/ui/uno/SwXDocumentSettings.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 85c69cbbf54016165053bccb5baaab4eec05dd24
Author: Maxime de Roucy <mderoucy at linagora.com>
Date:   Wed May 30 10:45:02 2012 +0200

    Change unnecessary pointer dereference
    
    Change-Id: I28404d9d1a18886361deae1aec583ef40c25ce85

diff --git a/sw/source/ui/uno/SwXDocumentSettings.cxx b/sw/source/ui/uno/SwXDocumentSettings.cxx
index d988bf5..ff56b00 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;


More information about the Libreoffice-commits mailing list