From 042717e05e2fea96e1e892b715f98dc00e7a881c Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Wed, 1 Aug 2012 13:45:21 +0000 Subject: [PATCH] Resolves: #i116244# need to reset rotation... This reverts commit f47ed987388e4df58ba74b9aca574a7d1fba396a. update layout tests Change-Id: I8a9daaa78acc98bf497241ebce856d5798b187f5 --- sd/qa/unit/data/xml/shapes-test_page3.xml | 230 +++++++++++----------- svx/source/svdraw/svdopath.cxx | 4 + 2 files changed, 119 insertions(+), 115 deletions(-) diff --git a/sd/qa/unit/data/xml/shapes-test_page3.xml b/sd/qa/unit/data/xml/shapes-test_page3.xml index 0e91ec3a10c5..d6c969223cf4 100644 --- a/sd/qa/unit/data/xml/shapes-test_page3.xml +++ b/sd/qa/unit/data/xml/shapes-test_page3.xml @@ -53,8 +53,8 @@ - - + + @@ -125,71 +125,71 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -492,16 +492,16 @@ - - - - - + + + + + - - + + @@ -514,8 +514,8 @@ - - + + @@ -544,29 +544,29 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -631,25 +631,25 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index f416ceae9311..da8a767956ee 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -1770,6 +1770,10 @@ void SdrPathObj::ImpForceKind() { aRect = lcl_ImpGetBoundRect(GetPathPoly()); } + + // #i116244# reset rotation + aGeo.nDrehWink = aGeo.nShearWink = 0; + aGeo.RecalcSinCos(); aGeo.RecalcTan(); } // #i75974# adapt polygon state to object type. This may include a reinterpretation