diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-28 09:58:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-28 13:31:49 +0200 |
commit | 2fbb97367ac93eb11429382f31fa6417eec76f8d (patch) | |
tree | 91b03fca5308c5fbe19bb309192bb75591e1f810 /slideshow | |
parent | d664a01f3be81572526d1136c261d86c12f5af90 (diff) |
loplugin:unusedmethods
Change-Id: I5f9ef043d76c55f2c761fd08a2bc1dae66b675c8
Reviewed-on: https://gerrit.libreoffice.org/61073
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapeattributelayer.cxx | 17 | ||||
-rw-r--r-- | slideshow/source/inc/shapeattributelayer.hxx | 13 |
2 files changed, 0 insertions, 30 deletions
diff --git a/slideshow/source/engine/shapeattributelayer.cxx b/slideshow/source/engine/shapeattributelayer.cxx index 937ed1508fb0..19817c01c10a 100644 --- a/slideshow/source/engine/shapeattributelayer.cxx +++ b/slideshow/source/engine/shapeattributelayer.cxx @@ -139,7 +139,6 @@ namespace slideshow mnShearXAngle(), mnShearYAngle(), mnAlpha(), - mnCharRotationAngle(), mnCharScale(), mnCharWeight(), @@ -178,7 +177,6 @@ namespace slideshow mbAlphaValid( false ), - mbCharRotationAngleValid( false ), mbCharScaleValid( false ), mbDimColorValid( false ), @@ -645,21 +643,6 @@ namespace slideshow ++mnContentState; } - bool ShapeAttributeLayer::isCharRotationAngleValid() const - { - return mbCharRotationAngleValid || ( haveChild() && mpChild->isCharRotationAngleValid() ); - } - - void ShapeAttributeLayer::setCharRotationAngle( const double& rNewAngle ) - { - ENSURE_OR_THROW( ::rtl::math::isFinite(rNewAngle), - "ShapeAttributeLayer::setCharRotationAngle(): Invalid angle" ); - - mnCharRotationAngle = rNewAngle; - mbCharRotationAngleValid = true; - ++mnContentState; - } - bool ShapeAttributeLayer::isCharWeightValid() const { return mbCharWeightValid || ( haveChild() && mpChild->isCharWeightValid() ); diff --git a/slideshow/source/inc/shapeattributelayer.hxx b/slideshow/source/inc/shapeattributelayer.hxx index 024a1cc88f41..df65a7dd4d53 100644 --- a/slideshow/source/inc/shapeattributelayer.hxx +++ b/slideshow/source/inc/shapeattributelayer.hxx @@ -375,17 +375,6 @@ namespace slideshow */ void setCharColor( const RGBColor& nNewColor ); - /** Query whether the char rotation angle attribute is valid - */ - bool isCharRotationAngleValid() const; - - /** Set the new text rotation angle of the shape - - @param rNewAngle - New text rotation angle in degrees. - */ - void setCharRotationAngle( const double& rNewAngle ); - /** Query whether the char weight attribute is valid */ bool isCharWeightValid() const; @@ -498,7 +487,6 @@ namespace slideshow double mnShearXAngle; double mnShearYAngle; double mnAlpha; - double mnCharRotationAngle; double mnCharScale; double mnCharWeight; @@ -537,7 +525,6 @@ namespace slideshow bool mbAlphaValid : 1; - bool mbCharRotationAngleValid: 1; bool mbCharScaleValid : 1; bool mbDimColorValid : 1; |