summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r--sw/source/filter/xml/xmlimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index e4ad8875e7c9..3dd3c4ce0722 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -34,7 +34,7 @@
#include <xmloff/XMLFontStylesContext.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <doc.hxx>
-#include <DocumentSettingManager.hxx>
+#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <unofreg.hxx>
#include <TextCursorHelper.hxx>
@@ -1051,7 +1051,7 @@ void SwXMLImport::SetViewSettings(const Sequence < PropertyValue > & aViewProps)
pDoc->GetDocShell()->SetVisArea ( aRect );
if (bChangeBrowseMode)
- pDoc->GetDocumentSettingManager().set(IDocumentSettingAccess::BROWSE_MODE, bBrowseMode );
+ pDoc->getIDocumentSettingAccess().set(IDocumentSettingAccess::BROWSE_MODE, bBrowseMode );
if (bChangeShowRedline)
GetTextImport()->SetShowChanges( bShowRedlineChanges );