[Libreoffice-commits] core.git: compilerplugins/clang sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 2 07:43:49 UTC 2020


 compilerplugins/clang/unusedmethods.results |   12 ------------
 sw/source/uibase/inc/numfmtlb.hxx           |    7 -------
 2 files changed, 19 deletions(-)

New commits:
commit 59b3a0413a742f86078da4772b2a5f4cc83e9e3c
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Oct 1 20:41:35 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 2 09:43:06 2020 +0200

    drop these unused inlines
    
    Change-Id: I566be7eaf2ee73d3dac8c137ba783eea960cb586
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103778
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results
index a87d0d4ebaaf..79339f02f1d4 100644
--- a/compilerplugins/clang/unusedmethods.results
+++ b/compilerplugins/clang/unusedmethods.results
@@ -1530,18 +1530,6 @@ sw/source/core/text/txtpaint.hxx:78
      DbgRect::DbgRect(class OutputDevice *,const class tools::Rectangle &,const _Bool,class Color)
 sw/source/filter/ww8/docxsdrexport.hxx:73
     class sax_fastparser::FastAttributeList * DocxSdrExport::getFlyWrapAttrList()
-sw/source/uibase/inc/numfmtlb.hxx:130
-    _Bool SwNumFormatTreeView::get_value_changed_from_saved() const
-sw/source/uibase/inc/numfmtlb.hxx:131
-    void SwNumFormatTreeView::save_value()
-sw/source/uibase/inc/numfmtlb.hxx:132
-    void SwNumFormatTreeView::show()
-sw/source/uibase/inc/numfmtlb.hxx:133
-    void SwNumFormatTreeView::hide()
-sw/source/uibase/inc/numfmtlb.hxx:139
-    void SwNumFormatTreeView::set_sensitive(_Bool)
-sw/source/uibase/inc/numfmtlb.hxx:140
-    void SwNumFormatTreeView::connect_changed(const class Link<class weld::TreeView &, void> &)
 sw/source/uibase/inc/swcont.hxx:85
     _Bool SwContent::operator==(const class SwContent &) const
 test/source/sheet/xsubtotalfield.cxx:28
diff --git a/sw/source/uibase/inc/numfmtlb.hxx b/sw/source/uibase/inc/numfmtlb.hxx
index 1fedd19c1157..a5776659130a 100644
--- a/sw/source/uibase/inc/numfmtlb.hxx
+++ b/sw/source/uibase/inc/numfmtlb.hxx
@@ -127,17 +127,10 @@ public:
     virtual void set_id(int nPos, const OUString& rId) override { mxControl->set_id(nPos, rId); }
     OUString        get_selected_text() const { return mxControl->get_selected_text(); }
     bool            get_visible() const { return mxControl->get_visible(); }
-    bool            get_value_changed_from_saved() const { return mxControl->get_value_changed_from_saved(); }
-    void            save_value() { return mxControl->save_value(); }
-    void            show() { mxControl->show(); }
-    void            hide() { mxControl->hide(); }
     int             get_selected_index() const { return mxControl->get_selected_index(); }
     void            set_visible(bool bVisible) { mxControl->set_visible(bVisible); }
     void            select(int nPos) { mxControl->select(nPos); }
     void            connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { mxControl->connect_row_activated(rLink); }
-
-    void            set_sensitive(bool bSensitive) { mxControl->set_sensitive(bSensitive); }
-    void            connect_changed(const Link<weld::TreeView&, void>& rLink) { mxControl->connect_changed(rLink); }
 };
 
 #endif


More information about the Libreoffice-commits mailing list