summaryrefslogtreecommitdiff
path: root/desktop
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 /desktop
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 'desktop')
-rw-r--r--desktop/source/app/langselect.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx
index a3f94791f091..d57a68f75cb9 100644
--- a/desktop/source/app/langselect.cxx
+++ b/desktop/source/app/langselect.cxx
@@ -79,10 +79,10 @@ void setMsLangIdFallback(OUString const & locale) {
if (!locale.isEmpty()) {
LanguageType type = LanguageTag::convertToLanguageTypeWithFallback(locale);
switch (SvtLanguageOptions::GetScriptTypeOfLanguage(type)) {
- case SCRIPTTYPE_ASIAN:
+ case SvtScriptType::ASIAN:
MsLangId::setConfiguredAsianFallback(type);
break;
- case SCRIPTTYPE_COMPLEX:
+ case SvtScriptType::COMPLEX:
MsLangId::setConfiguredComplexFallback(type);
break;
default: