diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-06 15:58:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-07 14:29:44 +0200 |
commit | a19e8ddded0aa4d1fe1d36a3c63dff43cb8ad589 (patch) | |
tree | 69368dbc9ba9d0129edde90890f4eccde73aa68c | |
parent | 39f88f29725a5e896bdd3dffc8957f50a19c1698 (diff) |
loplugin:unusedmethods
Change-Id: I6295d6ff6fb7410852351801c324244308c5c472
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121751
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/svx/sidebar/AreaTransparencyGradientPopup.hxx | 1 | ||||
-rw-r--r-- | include/vcl/gdimtf.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/drawsh.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/custsdlg.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/StyleList.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/inc/StyleList.hxx | 3 |
6 files changed, 0 insertions, 16 deletions
diff --git a/include/svx/sidebar/AreaTransparencyGradientPopup.hxx b/include/svx/sidebar/AreaTransparencyGradientPopup.hxx index 04b8fa91a8b6..3383884a807f 100644 --- a/include/svx/sidebar/AreaTransparencyGradientPopup.hxx +++ b/include/svx/sidebar/AreaTransparencyGradientPopup.hxx @@ -49,7 +49,6 @@ private: DECL_LINK(ModifiedTrgrHdl_Impl, weld::MetricSpinButton&, void); DECL_LINK(Left_Click45_Impl, const OString&, void); DECL_LINK(Right_Click45_Impl, const OString&, void); - DECL_LINK(FocusHdl, weld::Widget&, void); public: AreaTransparencyGradientPopup(const css::uno::Reference<css::frame::XFrame>& rFrame, diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx index 007f59521cdd..614d77369d1f 100644 --- a/include/vcl/gdimtf.hxx +++ b/include/vcl/gdimtf.hxx @@ -52,9 +52,6 @@ enum class MtfConversion typedef Color (*ColorExchangeFnc)( const Color& rColor, const void* pColParam ); typedef BitmapEx (*BmpExchangeFnc)( const BitmapEx& rBmpEx, const void* pBmpParam ); -VCL_DLLPUBLIC SvStream& ReadGDIMetaFile(SvStream& rIStm, GDIMetaFile& rGDIMetaFile, ImplMetaReadData* pReadData = nullptr); -VCL_DLLPUBLIC SvStream& WriteGDIMetaFile( SvStream& rOStm, const GDIMetaFile& rGDIMetaFile ); - class VCL_DLLPUBLIC GDIMetaFile final { private: diff --git a/sc/source/ui/inc/drawsh.hxx b/sc/source/ui/inc/drawsh.hxx index 8644bc13f3d5..ae78ad10296a 100644 --- a/sc/source/ui/inc/drawsh.hxx +++ b/sc/source/ui/inc/drawsh.hxx @@ -43,8 +43,6 @@ class ScDrawShell : public SfxShell DECL_LINK( NameObjectHdl, AbstractSvxObjectNameDialog&, bool ); - void SetHlinkForObject( SdrObject* pObj, const OUString& rHlnk ); - protected: virtual void Activate(bool bMDI) override; ScViewData& GetViewData() { return rViewData; } diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx index 2de2eb30f509..519361aff69e 100644 --- a/sd/source/ui/inc/custsdlg.hxx +++ b/sd/source/ui/inc/custsdlg.hxx @@ -84,8 +84,6 @@ public: SdDefineCustomShowDlg(weld::Window* pWindow, SdDrawDocument& rDrawDoc, std::unique_ptr<SdCustomShow>& rpCS); virtual ~SdDefineCustomShowDlg() override; - - bool IsModified() const { return bModified; } }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx index 9899417ec9ef..e2b80c1e71d7 100644 --- a/sfx2/source/dialog/StyleList.cxx +++ b/sfx2/source/dialog/StyleList.cxx @@ -1805,9 +1805,4 @@ IMPL_LINK(StyleList, PopupTreeMenuHdl, const CommandEvent&, rCEvt, bool) return true; } -void StyleList::setVisible(bool b) -{ - m_xTreeBox->set_visible(b && m_bHierarchical); - m_xFmtLb->set_visible(b && !m_bHierarchical); -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/inc/StyleList.hxx b/sfx2/source/inc/StyleList.hxx index 2768f4ce18ae..238655da889a 100644 --- a/sfx2/source/inc/StyleList.hxx +++ b/sfx2/source/inc/StyleList.hxx @@ -96,7 +96,6 @@ public: // Returns the Family Item at ith index // Used in Dialog's ReadResource_Hdl const SfxStyleFamilyItem& GetFamilyItemByIndex(size_t i) const; - const SfxObjectShell* GetObjectShell() const { return m_pCurObjShell; } bool IsHierarchical() const { return m_bHierarchical; } void Enabledel(bool candel) { m_bCanDel = candel; } @@ -121,8 +120,6 @@ public: void FamilySelect(sal_uInt16 nEntry); void FilterSelect(sal_uInt16 nActFilter, bool bsetFilter); - void setVisible(bool b); - DECL_LINK(NewMenuExecuteAction, void*, void); private: |