diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-19 13:12:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-20 09:52:09 +0200 |
commit | 49e13aa41895e8562d83cff189ab6a78d5d902aa (patch) | |
tree | 4c20a5e23a8f24b055df17d7c1075d4996b34995 /svtools | |
parent | 456c379ffd8683cd8c22969268900787cf1ac28e (diff) |
convert FONT_SUBSTITUTE constants to scoped enum
Change-Id: I8312f0117f33349218a09ccdfea946c66ceb1b3e
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/fontsubstconfig.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/config/fontsubstconfig.cxx b/svtools/source/config/fontsubstconfig.cxx index 6d7e3373376d..8f37ba836ee7 100644 --- a/svtools/source/config/fontsubstconfig.cxx +++ b/svtools/source/config/fontsubstconfig.cxx @@ -178,12 +178,12 @@ void SvtFontSubstConfig::Apply() for (sal_Int32 i = 0; i < nCount; i++) { - sal_uInt16 nFlags = 0; + AddFontSubstituteFlags nFlags = AddFontSubstituteFlags::NONE; const SubstitutionStruct* pSubs = GetSubstitution(i); if(pSubs->bReplaceAlways) - nFlags |= FONT_SUBSTITUTE_ALWAYS; + nFlags |= AddFontSubstituteFlags::ALWAYS; if(pSubs->bReplaceOnScreenOnly) - nFlags |= FONT_SUBSTITUTE_SCREENONLY; + nFlags |= AddFontSubstituteFlags::ScreenOnly; OutputDevice::AddFontSubstitute( pSubs->sFont, pSubs->sReplaceBy, nFlags ); } |