diff options
Diffstat (limited to 'xmloff/source/style/impastpl.cxx')
-rw-r--r-- | xmloff/source/style/impastpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index b3dd0f648de9..5a54f78d0d04 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -409,8 +409,8 @@ void SvXMLAutoStylePoolP_Impl::AddFamily( bool bAsFamily ) { // store family in a list if not already stored - sal_uInt16 nExportFlags = GetExport().getExportFlags(); - bool bStylesOnly = (nExportFlags & EXPORT_STYLES) != 0 && (nExportFlags & EXPORT_CONTENT) == 0; + SvXMLExportFlags nExportFlags = GetExport().getExportFlags(); + bool bStylesOnly = (nExportFlags & SvXMLExportFlags::STYLES) && !(nExportFlags & SvXMLExportFlags::CONTENT); OUString aPrefix( rStrPrefix ); if( bStylesOnly ) |