diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-06 10:18:33 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-06 11:54:16 +0200 |
commit | f831b1edd87d934d74fc931a3650e3737ccfe3a8 (patch) | |
tree | e346f6140a688f58f62f0681d3cb6e800cfd93f2 /svx | |
parent | 1ae50dc4f816f37df50bfcb9d97c071fdf1e143f (diff) |
Drop the unneeded optimization for "[All]"
It will only be used *at most* once, but often will not be used at all.
Change-Id: I13b0e9ab8a4918c56a7e710c80d6d9d36019c605
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152644
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/langbox.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 6ce694ca0cc5..fae7cf66e8d8 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -337,7 +337,7 @@ weld::ComboBoxEntry SvxLanguageBox::BuildEntry(const LanguageType nLangType, sal } OUString aStrEntry = (LANGUAGE_NONE == nLang && m_bHasLangNone && m_bLangNoneIsLangAll) - ? m_aAllString + ? SvxResId(RID_SVXSTR_LANGUAGE_ALL) : SvtLanguageTable::GetLanguageString(nLang); LanguageType nRealLang = nLang; @@ -446,7 +446,6 @@ IMPL_LINK(SvxLanguageBox, ChangeHdl, weld::ComboBox&, rControl, void) SvxLanguageBox::SvxLanguageBox(std::unique_ptr<weld::ComboBox> pControl) : m_xControl(std::move(pControl)) - , m_aAllString(SvxResId(RID_SVXSTR_LANGUAGE_ALL)) , m_eSavedLanguage(LANGUAGE_DONTKNOW) , m_eEditedAndValid(EditedAndValid::No) , m_bHasLangNone(false) |