summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-09 17:13:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-09 21:16:43 +0200
commit359940c4b43e7db0786800a0cf4e76039da7eff9 (patch)
tree28dfc349969e8f075723e4b142a6779c749818c6 /svx
parent4e819ba343fea588236e78fd71952756a670fa23 (diff)
filling the language list just to replace it entirely
Change-Id: I1f79038f2a5cc455a50a532870c4042588c3e446 Reviewed-on: https://gerrit.libreoffice.org/61595 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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 )