summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/style/XMLFontAutoStylePool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx
index 13bdfe845353..6b4b5a4d59e5 100644
--- a/xmloff/source/style/XMLFontAutoStylePool.cxx
+++ b/xmloff/source/style/XMLFontAutoStylePool.cxx
@@ -306,7 +306,7 @@ void XMLFontAutoStylePool::exportXML()
// the font license rights too and open either read-only or not use the font for editing).
OUString fileUrl = EmbeddedFontsHelper::fontFileUrl( pEntry->GetFamilyName(), pEntry->GetFamily(),
italic[ j ], weight[ j ], pEntry->GetPitch(), pEntry->GetEncoding(),
- EmbeddedFontsHelper::ViewingAllowed );
+ EmbeddedFontsHelper::FontRights::ViewingAllowed );
if( fileUrl.isEmpty())
continue;
if( !fontFilesMap.count( fileUrl ))