diff options
Diffstat (limited to 'sw/source/uibase/app/docsh.cxx')
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index 53a0f6d13e42..0962badc05b9 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -876,7 +876,7 @@ Printer *SwDocShell::GetDocumentPrinter() OutputDevice* SwDocShell::GetDocumentRefDev() { - return pDoc->getReferenceDevice( false ); + return pDoc->getIDocumentDeviceAccessConst()->getReferenceDevice( false ); } void SwDocShell::OnDocumentPrinterChanged( Printer * pNewPrinter ) |