summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlfonte.cxx
diff options
context:
space:
mode:
authorValentin Kettner <vakevk+libreoffice@gmail.com>2014-05-27 13:55:31 +0200
committerValentin Kettner <vakevk+libreoffice@gmail.com>2014-06-03 19:12:03 +0200
commit4269e3a7435b45cbbcd45d959e1e8c8e761a94a0 (patch)
treec78a7cdc96d10f10868709b59bb0c2848099e0f5 /sw/source/filter/xml/xmlfonte.cxx
parentb7dd4ad818be23aae8163cab760b5edc4f7eaaf3 (diff)
Changed DocumentDeviceManager includes to IDocumentDeviceAccess.
In places other than sw/core/ Change-Id: Ie1b67f58cf7777240d9db6a867cd33a7a1cbbcaf
Diffstat (limited to 'sw/source/filter/xml/xmlfonte.cxx')
-rw-r--r--sw/source/filter/xml/xmlfonte.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlfonte.cxx b/sw/source/filter/xml/xmlfonte.cxx
index 4de4087da301..154a9e96caf5 100644
--- a/sw/source/filter/xml/xmlfonte.cxx
+++ b/sw/source/filter/xml/xmlfonte.cxx
@@ -25,7 +25,7 @@
#include <doc.hxx>
#include <xmlexp.hxx>
#include <xmlimp.hxx>
-#include <DocumentSettingManager.hxx>
+#include <IDocumentSettingAccess.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -79,14 +79,14 @@ XMLFontAutoStylePool* SwXMLExport::CreateFontAutoStylePool()
// the embedding only in one of them.
if(( getExportFlags() & EXPORT_CONTENT ) == 0 )
blockFontEmbedding = true;
- if( !getDoc()->GetDocumentSettingManager().get( IDocumentSettingAccess::EMBED_FONTS ))
+ if( !getDoc()->getIDocumentSettingAccess().get( IDocumentSettingAccess::EMBED_FONTS ))
blockFontEmbedding = true;
return new SwXMLFontAutoStylePool_Impl( *this, !blockFontEmbedding );
}
void SwXMLImport::NotifyEmbeddedFontRead()
{
- getDoc()->GetDocumentSettingManager().set( IDocumentSettingAccess::EMBED_FONTS, true );
+ getDoc()->getIDocumentSettingAccess().set( IDocumentSettingAccess::EMBED_FONTS, true );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */