diff options
author | Eike Rathke <erack@redhat.com> | 2014-04-18 01:41:04 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-04-18 01:41:23 +0200 |
commit | 3f814cd286889995c96a6ced3ee7f5793ea92fc6 (patch) | |
tree | e6290042b6a44fe919052946aefb8fb3eb4780cb | |
parent | d8cc554522742be4e690c39e06dc240a597db003 (diff) |
another SvtLanguageTable instance bites the dust
Change-Id: I9d5ab635081539c21c84901c72f8a762f58ed409
-rw-r--r-- | framework/source/uielement/langselectionmenucontroller.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx index a1179cf0c9ff..3c1cf94896be 100644 --- a/framework/source/uielement/langselectionmenucontroller.cxx +++ b/framework/source/uielement/langselectionmenucontroller.cxx @@ -221,8 +221,6 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup aCmd_Language += ".uno:LanguageStatus?Language:string=Default_"; } - SvtLanguageTable aLanguageTable; - // get languages to be displayed in the menu std::set< OUString > aLangItems; FillLangItems( aLangItems, m_xFrame, m_aLangGuessHelper, @@ -239,7 +237,7 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup for (it = aLangItems.begin(); it != aLangItems.end(); ++it) { const OUString & rStr( *it ); - if (rStr != aLanguageTable.GetString( LANGUAGE_NONE ) && + if (rStr != SvtLanguageTable::GetLanguageString( LANGUAGE_NONE ) && rStr != sAsterisk && rStr != sEmpty) { |