[Libreoffice-commits] core.git: include/svx include/vcl sc/source sd/source sfx2/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 7 12:30:18 UTC 2021
include/svx/sidebar/AreaTransparencyGradientPopup.hxx | 1 -
include/vcl/gdimtf.hxx | 3 ---
sc/source/ui/inc/drawsh.hxx | 2 --
sd/source/ui/inc/custsdlg.hxx | 2 --
sfx2/source/dialog/StyleList.cxx | 5 -----
sfx2/source/inc/StyleList.hxx | 3 ---
6 files changed, 16 deletions(-)
New commits:
commit a19e8ddded0aa4d1fe1d36a3c63dff43cb8ad589
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Sep 6 15:58:48 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Sep 7 14:29:44 2021 +0200
loplugin:unusedmethods
Change-Id: I6295d6ff6fb7410852351801c324244308c5c472
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121751
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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:
More information about the Libreoffice-commits
mailing list