diff options
Diffstat (limited to 'sw/source/filter/xml/xmlfonte.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlfonte.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlfonte.cxx b/sw/source/filter/xml/xmlfonte.cxx index 76811a12db3c..4de4087da301 100644 --- a/sw/source/filter/xml/xmlfonte.cxx +++ b/sw/source/filter/xml/xmlfonte.cxx @@ -25,6 +25,7 @@ #include <doc.hxx> #include <xmlexp.hxx> #include <xmlimp.hxx> +#include <DocumentSettingManager.hxx> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -78,14 +79,15 @@ XMLFontAutoStylePool* SwXMLExport::CreateFontAutoStylePool() // the embedding only in one of them. if(( getExportFlags() & EXPORT_CONTENT ) == 0 ) blockFontEmbedding = true; - if( !getDoc()->get( IDocumentSettingAccess::EMBED_FONTS )) + if( !getDoc()->GetDocumentSettingManager().get( IDocumentSettingAccess::EMBED_FONTS )) blockFontEmbedding = true; return new SwXMLFontAutoStylePool_Impl( *this, !blockFontEmbedding ); } void SwXMLImport::NotifyEmbeddedFontRead() { - getDoc()->set( IDocumentSettingAccess::EMBED_FONTS, true ); + getDoc()->GetDocumentSettingManager().set( IDocumentSettingAccess::EMBED_FONTS, true ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ + |