diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-14 08:54:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-14 13:21:49 +0100 |
commit | 1b61d0417bf46896ef1f1bd1e1a8209588fc157a (patch) | |
tree | 6c603d40a0a1e2c1c4a9e7dd8495ed528586b16b /include/canvas | |
parent | f95afd856d087b5475d67d104a4aa7d85cf32413 (diff) |
loplugin:unusedmethods
Change-Id: I7c780be3e2740fd9b03c39ebe16935d61caf4f7e
Reviewed-on: https://gerrit.libreoffice.org/51257
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/canvas')
-rw-r--r-- | include/canvas/base/bufferedgraphicdevicebase.hxx | 5 | ||||
-rw-r--r-- | include/canvas/base/canvascustomspritehelper.hxx | 55 | ||||
-rw-r--r-- | include/canvas/canvastools.hxx | 3 | ||||
-rw-r--r-- | include/canvas/spriteredrawmanager.hxx | 8 |
4 files changed, 0 insertions, 71 deletions
diff --git a/include/canvas/base/bufferedgraphicdevicebase.hxx b/include/canvas/base/bufferedgraphicdevicebase.hxx index 3bd94f7862a8..235091f76798 100644 --- a/include/canvas/base/bufferedgraphicdevicebase.hxx +++ b/include/canvas/base/bufferedgraphicdevicebase.hxx @@ -155,11 +155,6 @@ namespace canvas } } - const css::uno::Reference< css::awt::XWindow2 >& getWindow() const - { - return mxWindow; - } - css::uno::Any getXWindow() const { return css::uno::makeAny(mxWindow); diff --git a/include/canvas/base/canvascustomspritehelper.hxx b/include/canvas/base/canvascustomspritehelper.hxx index f44f5213b1e7..3f55ef672d7c 100644 --- a/include/canvas/base/canvascustomspritehelper.hxx +++ b/include/canvas/base/canvascustomspritehelper.hxx @@ -115,23 +115,8 @@ namespace canvas bool isContentFullyOpaque() const { return mbIsContentFullyOpaque; } /// Returns true, if transformation has changed since last transformUpdated() call - bool hasAlphaChanged() const { return mbAlphaDirty; } - - /// Returns true, if transformation has changed since last transformUpdated() call - bool hasPositionChanged() const { return mbPositionDirty; } - - /// Returns true, if transformation has changed since last transformUpdated() call bool hasTransformChanged() const { return mbTransformDirty; } - /// Returns true, if transformation has changed since last transformUpdated() call - bool hasClipChanged() const { return mbClipDirty; } - - /// Returns true, if transformation has changed since last transformUpdated() call - bool hasPrioChanged() const { return mbPrioDirty; } - - /// Returns true, if transformation has changed since last transformUpdated() call - bool hasVisibilityChanged() const { return mbVisibilityDirty; } - /// Retrieve current alpha value double getAlpha() const { return mfAlpha; } @@ -145,22 +130,6 @@ namespace canvas bool isActive() const { return mbActive; } protected: - /** Notifies that caller is again in sync with current alpha - - const, but modifies state visible to derived - classes. beware of passing this information to the - outside! - */ - void alphaUpdated() const { mbAlphaDirty=false; } - - /** Notifies that caller is again in sync with current position - - const, but modifies state visible to derived - classes. beware of passing this information to the - outside! - */ - void positionUpdated() const { mbPositionDirty=false; } - /** Notifies that caller is again in sync with current transformation const, but modifies state visible to derived @@ -169,30 +138,6 @@ namespace canvas */ void transformUpdated() const { mbTransformDirty=false; } - /** Notifies that caller is again in sync with current clip - - const, but modifies state visible to derived - classes. beware of passing this information to the - outside! - */ - void clipUpdated() const { mbClipDirty=false; } - - /** Notifies that caller is again in sync with current priority - - const, but modifies state visible to derived - classes. beware of passing this information to the - outside! - */ - void prioUpdated() const { mbPrioDirty=false; } - - /** Notifies that caller is again in sync with current visibility - - const, but modifies state visible to derived - classes. beware of passing this information to the - outside! - */ - void visibilityUpdated() const { mbVisibilityDirty=false; } - private: CanvasCustomSpriteHelper( const CanvasCustomSpriteHelper& ) = delete; CanvasCustomSpriteHelper& operator=( const CanvasCustomSpriteHelper& ) = delete; diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx index c21465d13496..9de0ac6ebd7a 100644 --- a/include/canvas/canvastools.hxx +++ b/include/canvas/canvastools.hxx @@ -348,9 +348,6 @@ namespace canvas const css::geometry::IntegerSize2D& rBitmapSize ); /// Convert standard 8888 RGBA color to vcl color - CANVASTOOLS_DLLPUBLIC ::Color stdIntSequenceToColor( const css::uno::Sequence<sal_Int8>& rColor ); - - /// Convert standard 8888 RGBA color to vcl color CANVASTOOLS_DLLPUBLIC css::uno::Sequence<sal_Int8> colorToStdIntSequence( const ::Color& rColor ); // Modelled closely after boost::numeric_cast, only that we diff --git a/include/canvas/spriteredrawmanager.hxx b/include/canvas/spriteredrawmanager.hxx index 4e0d2ba872e2..edb10e9abfc7 100644 --- a/include/canvas/spriteredrawmanager.hxx +++ b/include/canvas/spriteredrawmanager.hxx @@ -144,14 +144,6 @@ namespace canvas { enum class ChangeType { none=0, move, update }; - SpriteChangeRecord() : - meChangeType( ChangeType::none ), - mpAffectedSprite(), - maOldPos(), - maUpdateArea() - { - } - SpriteChangeRecord( const Sprite::Reference& rSprite, const ::basegfx::B2DPoint& rOldPos, const ::basegfx::B2DPoint& rNewPos, |