summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.src5
-rw-r--r--sc/source/ui/inc/checklistmenu.hrc15
-rw-r--r--sc/source/ui/view/gridwin.cxx3
3 files changed, 16 insertions, 7 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.src b/sc/source/ui/cctrl/checklistmenu.src
index 59c8eb09477b..2c65b2fbb851 100644
--- a/sc/source/ui/cctrl/checklistmenu.src
+++ b/sc/source/ui/cctrl/checklistmenu.src
@@ -21,6 +21,11 @@
Resource RID_POPUP_FILTER
{
+ String STR_MENU_TITLE
+ {
+ Text [ en-US ] = "AutoFilter" ;
+ };
+
String STR_MENU_SORT_ASC
{
Text [ en-US ] = "Sort Ascending" ;
diff --git a/sc/source/ui/inc/checklistmenu.hrc b/sc/source/ui/inc/checklistmenu.hrc
index 7d009576f1dd..33b689887eb6 100644
--- a/sc/source/ui/inc/checklistmenu.hrc
+++ b/sc/source/ui/inc/checklistmenu.hrc
@@ -22,13 +22,14 @@
#include <sc.hrc>
-#define STR_MENU_SORT_ASC 1
-#define STR_MENU_SORT_DESC 2
-#define STR_MENU_SORT_CUSTOM 3
-#define STR_BTN_TOGGLE_ALL 4
-#define STR_BTN_SELECT_CURRENT 5
-#define STR_BTN_UNSELECT_CURRENT 6
-#define STR_EDIT_SEARCH_ITEMS 7
+#define STR_MENU_TITLE 1
+#define STR_MENU_SORT_ASC 2
+#define STR_MENU_SORT_DESC 3
+#define STR_MENU_SORT_CUSTOM 4
+#define STR_BTN_TOGGLE_ALL 5
+#define STR_BTN_SELECT_CURRENT 6
+#define STR_BTN_UNSELECT_CURRENT 7
+#define STR_EDIT_SEARCH_ITEMS 8
#endif
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index d285f6c05287..9cd3f117118e 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -682,7 +682,10 @@ void ScGridWindow::LaunchAutoFilterMenu(SCCOL nCol, SCROW nRow)
mpAutoFilterPopup.disposeAndClear();
mpAutoFilterPopup.reset(VclPtr<ScCheckListMenuWindow>::Create(this, pDoc));
if (comphelper::LibreOfficeKit::isActive())
+ {
mpAutoFilterPopup->SetLOKNotifier(SfxViewShell::Current());
+ mpAutoFilterPopup->SetText(SC_STRLOAD(RID_POPUP_FILTER, STR_MENU_TITLE));
+ }
mpAutoFilterPopup->setOKAction(new AutoFilterAction(this, Normal));
mpAutoFilterPopup->setPopupEndAction(
new AutoFilterPopupEndAction(this, ScAddress(nCol, nRow, nTab)));