From 59b3a0413a742f86078da4772b2a5f4cc83e9e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 1 Oct 2020 20:41:35 +0100 Subject: [PATCH] drop these unused inlines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I566be7eaf2ee73d3dac8c137ba783eea960cb586 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103778 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- compilerplugins/clang/unusedmethods.results | 12 ------------ sw/source/uibase/inc/numfmtlb.hxx | 7 ------- 2 files changed, 19 deletions(-) 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 &) 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& rLink) { mxControl->connect_row_activated(rLink); } - - void set_sensitive(bool bSensitive) { mxControl->set_sensitive(bSensitive); } - void connect_changed(const Link& rLink) { mxControl->connect_changed(rLink); } }; #endif