diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-09 10:26:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-09 10:34:31 +0000 |
commit | 30e39e4793bbfe59a53b41422b5d86a03cfe31d3 (patch) | |
tree | 989d282b0ef9b180e56a69a946d69aba17c92ead /include | |
parent | 0e0e3ea312dc09de6726318c3579671fec7de7ee (diff) |
loplugin:expandablemethods in drawinglayer..editeng
Change-Id: Ic7fe13651e18b4eec90ef3fd8d7aab81197e0f39
Reviewed-on: https://gerrit.libreoffice.org/30707
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/attribute/sdrfillgraphicattribute.hxx | 1 | ||||
-rw-r--r-- | include/drawinglayer/primitive2d/borderlineprimitive2d.hxx | 5 | ||||
-rw-r--r-- | include/drawinglayer/primitive2d/primitivetools2d.hxx | 7 | ||||
-rw-r--r-- | include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx | 4 | ||||
-rw-r--r-- | include/editeng/AccessibleEditableTextPara.hxx | 7 | ||||
-rw-r--r-- | include/editeng/AccessibleImageBullet.hxx | 4 | ||||
-rw-r--r-- | include/editeng/editview.hxx | 1 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 2 | ||||
-rw-r--r-- | include/editeng/unotext.hxx | 2 |
9 files changed, 0 insertions, 33 deletions
diff --git a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx index 2531fb096c59..60e76d87af8c 100644 --- a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx +++ b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx @@ -83,7 +83,6 @@ namespace drawinglayer const basegfx::B2DVector& getOffsetPosition() const; const basegfx::B2DVector& getRectPoint() const; bool getTiling() const; - bool getStretch() const; // FillGraphicAttribute generator FillGraphicAttribute createFillGraphicAttribute(const basegfx::B2DRange& rRange) const; diff --git a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx index 80d3890fe945..bd10add60aa9 100644 --- a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx @@ -74,11 +74,6 @@ namespace drawinglayer double getWidth( const geometry::ViewInformation2D& rViewInformation) const; - bool isSolidLine() const - { - return mnStyle == css::table::BorderLineStyle::SOLID; - } - bool isInsideUsed() const { return !basegfx::fTools::equalZero(mfLeftWidth); diff --git a/include/drawinglayer/primitive2d/primitivetools2d.hxx b/include/drawinglayer/primitive2d/primitivetools2d.hxx index cd0bacea114b..289fc77de018 100644 --- a/include/drawinglayer/primitive2d/primitivetools2d.hxx +++ b/include/drawinglayer/primitive2d/primitivetools2d.hxx @@ -46,13 +46,6 @@ namespace drawinglayer */ double mfDiscreteUnit; - protected: - /// helper to update discrete unit - void updateDiscreteUnit(double fNew) - { - mfDiscreteUnit = fNew; - } - public: /// constructor DiscreteMetricDependentPrimitive2D() diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx index c1b0a57277a0..14fd82ebf000 100644 --- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx @@ -118,10 +118,6 @@ namespace drawinglayer bool getEmphasisMarkBelow() const { return mbEmphasisMarkBelow; } bool getShadow() const { return mbShadow; } - /// check if this needs to be a TextDecoratedPortionPrimitive2D or - /// if a TextSimplePortionPrimitive2D would be suficcient - bool decoratedIsNeeded() const; - /// compare operator virtual bool operator==( const BasePrimitive2D& rPrimitive ) const override; diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx index 10b76a130352..a95aae696dd6 100644 --- a/include/editeng/AccessibleEditableTextPara.hxx +++ b/include/editeng/AccessibleEditableTextPara.hxx @@ -166,9 +166,6 @@ namespace accessibility virtual sal_Bool SAL_CALL supportsService (const OUString& sServiceName) throw (css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override; - // XServiceName - static OUString SAL_CALL getServiceName() throw (css::uno::RuntimeException); - /** Set the current index in the accessibility parent @attention This method does not lock the SolarMutex, @@ -304,10 +301,6 @@ namespace accessibility */ bool GetAttributeRun( sal_Int32& nStartIndex, sal_Int32& nEndIndex, sal_Int32 nIndex ); - // syntactic sugar for FireEvent - void GotPropertyEvent( const css::uno::Any& rNewValue, const sal_Int16 nEventId ) const; - void LostPropertyEvent( const css::uno::Any& rOldValue, const sal_Int16 nEventId ) const; - int getNotifierClientId() const { return mnNotifierClientId; } /// Do we have children? This is the case for image bullets diff --git a/include/editeng/AccessibleImageBullet.hxx b/include/editeng/AccessibleImageBullet.hxx index 174963dbb03a..6525995a4f79 100644 --- a/include/editeng/AccessibleImageBullet.hxx +++ b/include/editeng/AccessibleImageBullet.hxx @@ -148,10 +148,6 @@ namespace accessibility AccessibleImageBullet( const AccessibleImageBullet& ) = delete; AccessibleImageBullet& operator= ( const AccessibleImageBullet& ) = delete; - // syntactic sugar for FireEvent - void GotPropertyEvent( const css::uno::Any& rNewValue, const sal_Int16 nEventId ) const; - void LostPropertyEvent( const css::uno::Any& rOldValue, const sal_Int16 nEventId ) const; - // maintain state set and send STATE_CHANGE events void SetState( const sal_Int16 nStateId ); void UnSetState( const sal_Int16 nStateId ); diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index c05371d287d3..5653c4514040 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -109,7 +109,6 @@ public: void SetWindow( vcl::Window* pWin ); vcl::Window* GetWindow() const; - OutWindowSet& GetOtherViewWindows(); bool HasOtherViewWindow( vcl::Window* pWin ); bool AddOtherViewWindow( vcl::Window* pWin ); bool RemoveOtherViewWindow( vcl::Window* pWin ); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index cdc7cb149353..25241c5c7210 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -694,7 +694,6 @@ public: void SetDefaultHorizontalTextDirection( EEHorizontalTextDirection eHTextDir ); EEHorizontalTextDirection GetDefaultHorizontalTextDirection() const; - SvtScriptType GetScriptType( const ESelection& rSelection ) const; LanguageType GetLanguage( sal_Int32 nPara, sal_Int32 nPos ) const; void SetAsianCompressionMode( sal_uInt16 nCompressionMode ); @@ -763,7 +762,6 @@ public: void SetParaInsertedHdl(const Link<ParagraphHdlParam,void>& rLink){aParaInsertedHdl=rLink;} const Link<ParagraphHdlParam,void>& GetParaInsertedHdl() const { return aParaInsertedHdl; } - void ParagraphRemovingHdl(Paragraph*); void SetParaRemovingHdl(const Link<ParagraphHdlParam,void>& rLink){aParaRemovingHdl=rLink;} const Link<ParagraphHdlParam,void>& GetParaRemovingHdl() const { return aParaRemovingHdl; } diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 6bd0baaaa52d..518a0bd4aaa6 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -400,8 +400,6 @@ protected: public: UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextBase ) - static css::uno::Sequence< css::uno::Type > SAL_CALL getStaticTypes() throw(); - css::uno::Reference< css::text::XTextCursor > createTextCursorBySelection( const ESelection& rSel ); // css::uno::XInterface |