summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/docsh.cxx
diff options
context:
space:
mode:
authorValentin Kettner <vakevk+libreoffice@gmail.com>2014-05-20 21:35:48 +0200
committerValentin Kettner <vakevk+libreoffice@gmail.com>2014-06-03 19:12:00 +0200
commitcf8a3e700f18763b2aaaf1df0bcc53565e59e0c0 (patch)
tree9724956b39a4a2e6851275af1dce4d60cab633a3 /sw/source/uibase/app/docsh.cxx
parent50682e7205166bea55a935a984a49bb95e4ca094 (diff)
Cleaning up of IDocumentDeviceAccess methods in SwDoc.
Moved all SwDoc::getReferenceDevice and SwDoc::setReferenceDevice calls to their appropriate interface methods (SwDoc::getIDocumentDeviceAccess::"). Change-Id: I2a1b488500fa4f0bfbb7ebadccde2c94b70efd85
Diffstat (limited to 'sw/source/uibase/app/docsh.cxx')
-rw-r--r--sw/source/uibase/app/docsh.cxx2
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 )