[Libreoffice-commits] core.git: compilerplugins/clang include/vcl vcl/inc vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 19 12:25:28 UTC 2020


 compilerplugins/clang/constantparam.booleans.results |    4 ----
 include/vcl/lstbox.hxx                               |    2 --
 vcl/inc/listbox.hxx                                  |    1 -
 vcl/source/control/imp_listbox.cxx                   |    5 -----
 vcl/source/control/listbox.cxx                       |    5 -----
 5 files changed, 17 deletions(-)

New commits:
commit 867b5bb769f24f3f3f87a53e5e660f8766659bea
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Feb 19 11:00:32 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Feb 19 13:24:50 2020 +0100

    drop newly unused methods
    
    Change-Id: I390134b3cd0187f0adcced3625ad0a3a26f8fe28
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89008
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/compilerplugins/clang/constantparam.booleans.results b/compilerplugins/clang/constantparam.booleans.results
index 0e3c7a722d44..6e4c4eafc193 100644
--- a/compilerplugins/clang/constantparam.booleans.results
+++ b/compilerplugins/clang/constantparam.booleans.results
@@ -1658,10 +1658,6 @@ include/vcl/lstbox.hxx:232
     void ListBox::EnableUserDraw(_Bool)
     _Bool bUserDraw
     1
-include/vcl/lstbox.hxx:277
-    void ListBox::EnableQuickSelection(_Bool)
-    _Bool b
-    0
 include/vcl/mtfxmldump.hxx:34
     void MetafileXmlDump::filterActionType(const enum MetaActionType,_Bool)
     _Bool bShouldFilter
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index f002c7d14f32..0aba3d62648c 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -274,8 +274,6 @@ public:
 
     virtual bool set_property(const OString &rKey, const OUString &rValue) override;
 
-    void EnableQuickSelection( bool b );
-
     virtual FactoryFunction GetUITestFactory() const override;
 
     virtual boost::property_tree::ptree DumpAsPropertyTree() override;
diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx
index 488d98ae732c..68695eed9914 100644
--- a/vcl/inc/listbox.hxx
+++ b/vcl/inc/listbox.hxx
@@ -370,7 +370,6 @@ public:
 
     bool GetEdgeBlending() const { return mbEdgeBlending; }
     void SetEdgeBlending(bool bNew) { mbEdgeBlending = bNew; }
-    void EnableQuickSelection( bool b );
 
     using Control::ImplInitSettings;
     virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index c4486f9262a0..9e29102e55ec 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -613,11 +613,6 @@ SalLayoutGlyphs* ImplEntryType::GetTextGlyphs(const OutputDevice* pOutputDevice)
     return &maStrGlyphs;
 }
 
-void ImplListBoxWindow::EnableQuickSelection( bool b )
-{
-    maQuickSelectionEngine.SetEnabled( b );
-}
-
 void ImplListBoxWindow::ImplUpdateEntryMetrics( ImplEntryType& rEntry )
 {
     ImplEntryMetrics aMetrics;
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index 9b66451b37ed..9fa46963b9ff 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -34,11 +34,6 @@
 #include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
 #include <boost/property_tree/ptree.hpp>
 
-void ListBox::EnableQuickSelection( bool b )
-{
-    mpImplLB->GetMainWindow()->EnableQuickSelection(b);
-}
-
 ListBox::ListBox(WindowType nType)
     : Control(nType)
     , mpImplLB(nullptr)


More information about the Libreoffice-commits mailing list