sw/source/ui/uno/SwXDocumentSettings.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 85c69cbbf54016165053bccb5baaab4eec05dd24 Author: Maxime de Roucy <mdero...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits