summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlfonte.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmlfonte.cxx')
-rw-r--r--sw/source/filter/xml/xmlfonte.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlfonte.cxx b/sw/source/filter/xml/xmlfonte.cxx
index 8574cd7ddcd7..fbe6263d6b10 100644
--- a/sw/source/filter/xml/xmlfonte.cxx
+++ b/sw/source/filter/xml/xmlfonte.cxx
@@ -77,7 +77,7 @@ XMLFontAutoStylePool* SwXMLExport::CreateFontAutoStylePool()
// written by different SwXMLExport instance, and would therefore write each
// font file twice without complicated checking for duplicates, so handle
// the embedding only in one of them.
- if(( getExportFlags() & EXPORT_CONTENT ) == 0 )
+ if( !( getExportFlags() & SvXMLExportFlags::CONTENT) )
blockFontEmbedding = true;
if( !getDoc()->getIDocumentSettingAccess().get( IDocumentSettingAccess::EMBED_FONTS ))
blockFontEmbedding = true;