summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/DocumentDeviceManager.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-06-02 16:31:40 +0200
committerValentin Kettner <vakevk+libreoffice@gmail.com>2014-06-03 19:12:05 +0200
commitb651ed7a6700b560052b67102a65f06a498dd182 (patch)
tree797878ef70ba5100c336cfa61713981c90f72426 /sw/source/core/doc/DocumentDeviceManager.cxx
parentabf17aef7a1b5c559fee58e6db526fbd1758e331 (diff)
sw: fix some assertions that still use removed SwDoc methods
Change-Id: Ia33dff51cdb58030ec11ec499ee5c518fba31641
Diffstat (limited to 'sw/source/core/doc/DocumentDeviceManager.cxx')
-rw-r--r--sw/source/core/doc/DocumentDeviceManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentDeviceManager.cxx b/sw/source/core/doc/DocumentDeviceManager.cxx
index 392654f19502..aabfd966d135 100644
--- a/sw/source/core/doc/DocumentDeviceManager.cxx
+++ b/sw/source/core/doc/DocumentDeviceManager.cxx
@@ -297,7 +297,7 @@ void DocumentDeviceManager::PrtDataChanged()
// If you change this, also modify InJobSetup in Sw3io if appropriate.
// #i41075#
- OSL_ENSURE( m_rSwdoc.get(IDocumentSettingAccess::USE_VIRTUAL_DEVICE) ||
+ OSL_ENSURE( m_rSwdoc.getIDocumentSettingAccess().get(IDocumentSettingAccess::USE_VIRTUAL_DEVICE) ||
0 != getPrinter( false ), "PrtDataChanged will be called recursively!" );
SwRootFrm* pTmpRoot = m_rSwdoc.GetCurrentLayout();
boost::scoped_ptr<SwWait> pWait;