summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-15 09:36:39 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-04-17 07:21:08 +0000
commita7b7c64afc523cfd9ff4e724b3efbec6567fc1c8 (patch)
tree52fd05ef3292f3dab172864cbc3be96a8d44a9d0 /starmath
parentadd7eeb7dbd0eefa0c5ae5430490864079add801 (diff)
convert SCRIPTTYPE_ constants to scoped enum
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/format.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/format.cxx b/starmath/source/format.cxx
index 1bc95d0d4445..76007fc2b08c 100644
--- a/starmath/source/format.cxx
+++ b/starmath/source/format.cxx
@@ -79,9 +79,9 @@ OUString GetDefaultFontName( LanguageType nLang, sal_uInt16 nIdent )
const sal_uInt16 *pTable;
switch ( SvtLanguageOptions::GetScriptTypeOfLanguage( nLang ) )
{
- case SCRIPTTYPE_LATIN : pTable = aLatinDefFnts; break;
- case SCRIPTTYPE_ASIAN : pTable = aCJKDefFnts; break;
- case SCRIPTTYPE_COMPLEX : pTable = aCTLDefFnts; break;
+ case SvtScriptType::LATIN : pTable = aLatinDefFnts; break;
+ case SvtScriptType::ASIAN : pTable = aCJKDefFnts; break;
+ case SvtScriptType::COMPLEX : pTable = aCTLDefFnts; break;
default :
pTable = aLatinDefFnts;
SAL_WARN("starmath", "unknown script-type");