From d69d4f7174ffae502c4aa9cc69786c897662dddc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Jul 2015 14:23:53 +0200 Subject: loplugin:unusedmethods reportdesign,scaddins Change-Id: I3e2ccdbc0dd97f276a96eae5c041c09e69cede91 Reviewed-on: https://gerrit.libreoffice.org/17235 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- reportdesign/inc/ReportDefinition.hxx | 3 --- reportdesign/inc/RptObject.hxx | 10 ---------- 2 files changed, 13 deletions(-) (limited to 'reportdesign/inc') diff --git a/reportdesign/inc/ReportDefinition.hxx b/reportdesign/inc/ReportDefinition.hxx index e11a09675a9e..d5b8532141c0 100644 --- a/reportdesign/inc/ReportDefinition.hxx +++ b/reportdesign/inc/ReportDefinition.hxx @@ -342,9 +342,6 @@ namespace reportdesign virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // document::XEventListener - void SAL_CALL notifyEvent( const ::com::sun::star::document::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException); - // XUIConfigurationManagerSupplier virtual ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 4e270da70b17..a9eff84462ea 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -52,7 +52,6 @@ typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexTo { private: DlgEdHintKind eHintKind; - OUnoObject* pDlgEdObj; DlgEdHint(DlgEdHint&) SAL_DELETED_FUNCTION; void operator =(DlgEdHint&) SAL_DELETED_FUNCTION; @@ -61,7 +60,6 @@ typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexTo virtual ~DlgEdHint(); inline DlgEdHintKind GetKind() const { return eHintKind; } - inline OUnoObject* GetObject() const { return pDlgEdObj; } }; @@ -93,9 +91,7 @@ protected: void SetPropsFromRect(const Rectangle& _rRect); - virtual void SetSnapRectImpl(const Rectangle& _rRect) = 0; virtual SdrPage* GetImplPage() const = 0; - virtual void SetObjectItemHelper(const SfxPoolItem& rItem); /** called by instances of derived classes to implement their overriding of getUnoShape */ @@ -117,8 +113,6 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent> getReportComponent() const { return m_xReportComponent;} virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getAwtComponent(); - inline void setOldParent(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xSection) { m_xSection = _xSection; } - inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection> getOldParent() const { return m_xSection;} ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection> getSection() const; inline const OUString getServiceName() const { return m_sComponentName; } @@ -152,9 +146,7 @@ protected: virtual void NbcSetLogicRect(const Rectangle& rRect) SAL_OVERRIDE; virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) SAL_OVERRIDE; - virtual void SetSnapRectImpl(const Rectangle& _rRect) SAL_OVERRIDE; virtual SdrPage* GetImplPage() const SAL_OVERRIDE; - void SetObjectItemHelper(const SfxPoolItem& rItem) SAL_OVERRIDE; public: TYPEINFO_OVERRIDE(); @@ -199,7 +191,6 @@ protected: virtual void NbcSetLogicRect(const Rectangle& rRect) SAL_OVERRIDE; virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) SAL_OVERRIDE; - virtual void SetSnapRectImpl(const Rectangle& _rRect) SAL_OVERRIDE; virtual SdrPage* GetImplPage() const SAL_OVERRIDE; public: @@ -246,7 +237,6 @@ protected: virtual void NbcSetLogicRect(const Rectangle& rRect) SAL_OVERRIDE; virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) SAL_OVERRIDE; - virtual void SetSnapRectImpl(const Rectangle& _rRect) SAL_OVERRIDE; virtual SdrPage* GetImplPage() const SAL_OVERRIDE; public: -- cgit