summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/langbox.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx
index a0c7bc7ce707..4c22822f5eb8 100644
--- a/svx/source/dialog/langbox.cxx
+++ b/svx/source/dialog/langbox.cxx
@@ -812,25 +812,6 @@ LanguageBox::LanguageBox(std::unique_ptr<weld::ComboBox> pControl)
{
m_xControl->make_sorted();
m_xControl->connect_changed(LINK(this, LanguageBox, ChangeHdl));
-
- m_xControl->freeze();
- sal_uInt32 nCount = SvtLanguageTable::GetLanguageEntryCount();
- for (sal_uInt32 i = 0; i < nCount; ++i)
- {
- LanguageType nLangType = SvtLanguageTable::GetLanguageTypeAtIndex(i);
-
- bool bInsert = true;
- if ((LANGUAGE_DONTKNOW == nLangType) || (LANGUAGE_SYSTEM == nLangType))
- {
- bInsert = false;
- }
-
- if (!bInsert)
- continue;
-
- InsertLanguage(nLangType);
- }
- m_xControl->thaw();
}
SvxLanguageBox::SvxLanguageBox( vcl::Window* pParent, WinBits nBits )