From efbe3f64906da13ad2a73613148845bfb2c01720 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Fri, 3 Feb 2012 15:46:52 +0100 Subject: Remove obsolete quirk for text rotation. With 800806ba850c7fd03e37acb011fa993e08cb8fc8 matrix decompose returns the correct angle right away, no need to catch it here. --- canvas/source/vcl/impltools.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'canvas') diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx index 967388639871..0484d1ed1e49 100644 --- a/canvas/source/vcl/impltools.cxx +++ b/canvas/source/vcl/impltools.cxx @@ -128,15 +128,6 @@ namespace vclcanvas aMatrix.decompose( aScale, aTranslate, nRotate, nShearX ); - // #i72417# detecting the 180 degree rotation case manually here. - if( aScale.getX() < 0.0 && - aScale.getY() < 0.0 && - basegfx::fTools::equalZero(nRotate) ) - { - aScale *= -1.0; - nRotate += M_PI; - } - // query font metric _before_ tampering with width and height if( !::rtl::math::approxEqual(aScale.getX(), aScale.getY()) ) { -- cgit