canvas/source/vcl/impltools.cxx | 9 --------- 1 file changed, 9 deletions(-)
New commits: commit efbe3f64906da13ad2a73613148845bfb2c01720 Author: Thorsten Behrens <tbehr...@suse.com> Date: Fri Feb 3 15:46:52 2012 +0100 Remove obsolete quirk for text rotation. With 800806ba850c7fd03e37acb011fa993e08cb8fc8 matrix decompose returns the correct angle right away, no need to catch it here. diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx index 9673886..0484d1e 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()) ) { _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits