summaryrefslogtreecommitdiff
path: root/svx/source/dialog/langbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/langbox.cxx')
-rw-r--r--svx/source/dialog/langbox.cxx4
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 ||