summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index 1dc52ed35cf3..44605f082d9f 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -251,7 +251,6 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup
sal_Int16 nItemId = 1; // in this control the item id is not important for executing the command
const OUString sAsterix("*"); // multiple languages in current selection
const OUString sEmpty; // 'no language found' from language guessing
- std::map< sal_Int16, OUString > aLangMap;
std::set< OUString >::const_iterator it;
for (it = aLangItems.begin(); it != aLangItems.end(); ++it)
{
@@ -269,7 +268,6 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup
//make a sign for the current language
pPopupMenu->CheckItem( nItemId, sal_True );
}
- aLangMap[ nItemId ] = rStr;
++nItemId;
}
}