summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-31 13:58:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-03 06:17:15 +0000
commitdb4e8806aace921ca1348c1bc0949a7e554f34ac (patch)
tree7d7aa30bf8d9f86ae45773cb148ad3bf0419ec97 /xmloff
parente88107c0552a2165d3e3e8137ebbd80d97b5570e (diff)
Convert FontRights to scoped enum
Change-Id: Ib46fe9dbe4b41bfe2e85e9171e8dcf7a96ccb483 Reviewed-on: https://gerrit.libreoffice.org/25717 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-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 ))