diff options
author | Valentin Kettner <vakevk+libreoffice@gmail.com> | 2014-05-25 14:10:13 +0200 |
---|---|---|
committer | Valentin Kettner <vakevk+libreoffice@gmail.com> | 2014-06-03 19:12:02 +0200 |
commit | 6f77ce5870101021d6e1056ccddb443f3825c41d (patch) | |
tree | 545c6c914257857eb179f7bf8c38152afa343651 /sw/source/filter/xml/xmlfonte.cxx | |
parent | 72e71364c68ccbfac3cd880a8d1059c574856163 (diff) |
Removed DocumentSettingManager methods from SwDoc.
And moved all calls to those methods to GetDocumentSettingManager().
Change-Id: I9b6cc8c3aa9b57bbc0c39f39499dfb4f5f254ad9
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: */ + |