sc/inc/strings.hrc             |    1 -
 sc/source/ui/view/gridwin.cxx  |    3 ---
 vcl/source/window/floatwin.cxx |    2 --
 3 files changed, 6 deletions(-)

New commits:
commit b6dda60b3e888f67d76402f29d7b5576814786dd
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Mon May 21 14:39:10 2018 +0200

    Revert "lokdialog: Give non-programmatic name to autofilter"
    
    In the meantime, we are able to treat the title-less pop-ups just fine.
    
    This reverts commit a895f6356159f4267c0ac24781814ae0cbcba0b9.
    
    Change-Id: I1e2913190e9a1141eddf9aba0732e57bd5407987
    Reviewed-on: https://gerrit.libreoffice.org/54629
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/sc/inc/strings.hrc b/sc/inc/strings.hrc
index 7c3890a3ff4e..ed0fc8df5663 100644
--- a/sc/inc/strings.hrc
+++ b/sc/inc/strings.hrc
@@ -165,7 +165,6 @@
 #define SCSTR_QHLP_SCEN_LISTBOX                     
NC_("SCSTR_QHLP_SCEN_LISTBOX", "Scenario Name")
 #define SCSTR_QHLP_SCEN_COMMENT                     
NC_("SCSTR_QHLP_SCEN_COMMENT", "Comment")
 
-#define STR_MENU_AUTOFILTER                         NC_("STR_MENU_AUTOFILTER", 
"AutoFilter")
 #define STR_MENU_SORT_ASC                           NC_("STR_MENU_SORT_ASC", 
"Sort Ascending")
 #define STR_MENU_SORT_DESC                          NC_("STR_MENU_SORT_DESC", 
"Sort Descending")
 #define STR_MENU_SORT_CUSTOM                        
NC_("STR_MENU_SORT_CUSTOM", "Custom Sort")
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 4ef41950c217..64f8012891d6 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -628,10 +628,7 @@ 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(ScResId(STR_MENU_AUTOFILTER));
-    }
     mpAutoFilterPopup->setOKAction(new AutoFilterAction(this, Normal));
     mpAutoFilterPopup->setPopupEndAction(
         new AutoFilterPopupEndAction(this, ScAddress(nCol, nRow, nTab)));
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index e30fd77f5c69..83966e42b0e5 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -642,8 +642,6 @@ void FloatingWindow::StateChanged( StateChangedType nType )
                 aItems.emplace_back("position", mpImplData->maPos.toString()); 
// pixels
             }
             aItems.emplace_back("size", GetSizePixel().toString());
-            if (!GetText().isEmpty())
-                aItems.emplace_back("title", GetText().toUtf8());
             GetLOKNotifier()->notifyWindow(GetLOKWindowId(), "created", 
aItems);
         }
         else if (!IsVisible() && nType == StateChangedType::Visible)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to