summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config/fontcfg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-19 14:37:07 +0200
committerNoel Grandin <noel@peralex.com>2015-05-20 09:52:09 +0200
commit23b439a664549e1b43347bc625c267fa3c4f4d3b (patch)
tree157c173a91b49e78aaf037e1cee482fe3925134b /sw/source/uibase/config/fontcfg.cxx
parent49e13aa41895e8562d83cff189ab6a78d5d902aa (diff)
convert DEFAULTCONSTANT constant to scoped enum
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
Diffstat (limited to 'sw/source/uibase/config/fontcfg.cxx')
-rw-r--r--sw/source/uibase/config/fontcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/config/fontcfg.cxx b/sw/source/uibase/config/fontcfg.cxx
index 949b43bcb06c..7511424b61c5 100644
--- a/sw/source/uibase/config/fontcfg.cxx
+++ b/sw/source/uibase/config/fontcfg.cxx
@@ -253,7 +253,7 @@ OUString SwStdFontConfig::GetDefaultFor(sal_uInt16 nFontType, LanguageType eLan
default:
nFontId = DefaultFontType::LATIN_TEXT;
}
- vcl::Font aFont = OutputDevice::GetDefaultFont(nFontId, eLang, DEFAULTFONT_FLAGS_ONLYONE);
+ vcl::Font aFont = OutputDevice::GetDefaultFont(nFontId, eLang, GetDefaultFontFlags::OnlyOne);
return aFont.GetName();
}