diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-23 08:48:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-27 11:48:46 +0200 |
commit | 1534025a0386584a7b8f3f929b10ce5eb33257cf (patch) | |
tree | 7f12dd6763148089cd4fb5495c8fffe84f415e12 /slideshow | |
parent | 0f2e01677cd0e8857faec99c61d71e88eee78b27 (diff) |
loplugin:methodcycles more graph theory for the win
implemeent a reduction approach, which is good at finding virtual
methods that only themselves or their virtual partners.
The accessibility GetVisArea stuff is dead since
commit 891e41fac81fbd8d5cdb277b26639abfd25a7143
Date: Wed Apr 4 11:23:22 2018 +0200
dead code in AccessibleTextHelper_Impl::UpdateVisibleChildren
Change-Id: I78d9d8bca585ecec8394f2c3fe2baa93db0e58f5
Reviewed-on: https://gerrit.libreoffice.org/60912
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapeattributelayer.cxx | 8 | ||||
-rw-r--r-- | slideshow/source/inc/shapeattributelayer.hxx | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/slideshow/source/engine/shapeattributelayer.cxx b/slideshow/source/engine/shapeattributelayer.cxx index f766707b696b..937ed1508fb0 100644 --- a/slideshow/source/engine/shapeattributelayer.cxx +++ b/slideshow/source/engine/shapeattributelayer.cxx @@ -650,14 +650,6 @@ namespace slideshow return mbCharRotationAngleValid || ( haveChild() && mpChild->isCharRotationAngleValid() ); } - double ShapeAttributeLayer::getCharRotationAngle() const - { - return calcValue( mnCharRotationAngle, - mbCharRotationAngleValid, - &ShapeAttributeLayer::isCharRotationAngleValid, - &ShapeAttributeLayer::getCharRotationAngle ); - } - void ShapeAttributeLayer::setCharRotationAngle( const double& rNewAngle ) { ENSURE_OR_THROW( ::rtl::math::isFinite(rNewAngle), diff --git a/slideshow/source/inc/shapeattributelayer.hxx b/slideshow/source/inc/shapeattributelayer.hxx index 27ed2c1ae22d..024a1cc88f41 100644 --- a/slideshow/source/inc/shapeattributelayer.hxx +++ b/slideshow/source/inc/shapeattributelayer.hxx @@ -378,11 +378,7 @@ namespace slideshow /** Query whether the char rotation angle attribute is valid */ bool isCharRotationAngleValid() const; - /** Query the current text rotation angle of the shape - @return the text rotation angle in degrees. - */ - double getCharRotationAngle() const; /** Set the new text rotation angle of the shape @param rNewAngle |