diff options
author | Eike Rathke <erack@redhat.com> | 2013-04-03 21:16:01 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-04-03 21:19:25 +0200 |
commit | 1fa455b396c8d0ae1686f2f9e4c0ee04f503081f (patch) | |
tree | 0e92094fb2436f33fbe32f560ecd1f77f51c3029 /svx | |
parent | ef291d99fb706675607acdc80f1fd05e952f0a34 (diff) |
ditch unused LANGUAGE_USER[1-9]
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/langbox.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index a4aac24c93a9..5dca172caa90 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -168,8 +168,7 @@ void SvxLanguageBox::Init() bool bInsert = true; if ((LANGUAGE_DONTKNOW == nLangType) || - (LANGUAGE_SYSTEM == nLangType) || - (LANGUAGE_USER1 <= nLangType && nLangType <= LANGUAGE_USER9)) + (LANGUAGE_SYSTEM == nLangType)) { bInsert = false; } @@ -289,7 +288,6 @@ void SvxLanguageBox::SetLanguageList( sal_Int16 nLangList, if ( nLangType != LANGUAGE_DONTKNOW && nLangType != LANGUAGE_SYSTEM && nLangType != LANGUAGE_NONE && - (nLangType < LANGUAGE_USER1 || nLangType > LANGUAGE_USER9) && (MsLangId::getSubLanguage( nLangType) != 0 || (nLangList & LANG_LIST_ALSO_PRIMARY_ONLY)) && ((nLangList & LANG_LIST_ALL) != 0 || |