summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r--sw/source/filter/xml/xmlexp.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index 3d3e8467bddb..8b2d359acf33 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -58,6 +58,7 @@
#include <comphelper/servicehelper.hxx>
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
+#include <DocumentSettingManager.hxx>
#include <pausethreadstarting.hxx>
@@ -179,7 +180,7 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass )
}
sal_uInt16 const eUnit = SvXMLUnitConverter::GetMeasureUnit(
- SW_MOD()->GetMetric(pDoc->get(IDocumentSettingAccess::HTML_MODE)));
+ SW_MOD()->GetMetric(pDoc->GetDocumentSettingManager().get(IDocumentSettingAccess::HTML_MODE)));
if (GetMM100UnitConverter().GetXMLMeasureUnit() != eUnit )
{
GetMM100UnitConverter().SetXMLMeasureUnit( eUnit );
@@ -233,12 +234,12 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass )
}
// adjust document class (eClass)
- if (pDoc->get(IDocumentSettingAccess::GLOBAL_DOCUMENT))
+ if (pDoc->GetDocumentSettingManager().get(IDocumentSettingAccess::GLOBAL_DOCUMENT))
{
eClass = XML_TEXT_GLOBAL;
// additionally, we take care of the save-linked-sections-thingy
- mbSaveLinkedSections = pDoc->get(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS);
+ mbSaveLinkedSections = pDoc->GetDocumentSettingManager().get(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS);
}
// MIB: 03/26/04: The Label information is saved in the settings, so
// we don't need it here.
@@ -389,7 +390,7 @@ void SwXMLExport::GetViewSettings(Sequence<PropertyValue>& aProps)
pValue[nIndex].Name = "ShowRedlineChanges";
pValue[nIndex++].Value.setValue( &bShowRedlineChanges, ::getBooleanCppuType() );
- sal_Bool bInBrowse = pDoc->get(IDocumentSettingAccess::BROWSE_MODE);
+ sal_Bool bInBrowse = pDoc->GetDocumentSettingManager().get(IDocumentSettingAccess::BROWSE_MODE);
pValue[nIndex].Name = "InBrowseMode";
pValue[nIndex++].Value.setValue( &bInBrowse, ::getBooleanCppuType() );