summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewprt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewprt.cxx')
-rw-r--r--sw/source/uibase/uiview/viewprt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewprt.cxx b/sw/source/uibase/uiview/viewprt.cxx
index 79228e460ccf..e7855d887172 100644
--- a/sw/source/uibase/uiview/viewprt.cxx
+++ b/sw/source/uibase/uiview/viewprt.cxx
@@ -278,7 +278,7 @@ VclPtr<SfxTabPage> CreatePrintOptionsPage( vcl::Window *pParent,
void SetAppPrintOptions( SwViewShell* pSh, bool bWeb )
{
const IDocumentDeviceAccess& rIDDA = pSh->getIDocumentDeviceAccess();
- SwPrintData aPrtData = rIDDA.getPrintData();
+ const SwPrintData& aPrtData = rIDDA.getPrintData();
if( rIDDA.getPrinter( false ) )
{