summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-02-03 15:46:52 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-02-07 15:41:55 +0100
commitefbe3f64906da13ad2a73613148845bfb2c01720 (patch)
tree79c62aea6f241e216ac60f2b453e7d360b50d1b3 /canvas
parent9045503c46818bacc2a13b1db65e709633e7c6cb (diff)
Remove obsolete quirk for text rotation.
With 800806ba850c7fd03e37acb011fa993e08cb8fc8 matrix decompose returns the correct angle right away, no need to catch it here.
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/impltools.cxx9
1 files changed, 0 insertions, 9 deletions
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()) )
{