summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdopath.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-08-01 13:45:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-18 17:51:04 +0100
commit042717e05e2fea96e1e892b715f98dc00e7a881c (patch)
tree015341948d9338872c1564888c2f6d9f4a282768 /svx/source/svdraw/svdopath.cxx
parent1f2555426a56b639ff430bf60fc4bd06d647ebaf (diff)
Resolves: #i116244# need to reset rotation...
This reverts commit f47ed987388e4df58ba74b9aca574a7d1fba396a. update layout tests Change-Id: I8a9daaa78acc98bf497241ebce856d5798b187f5
Diffstat (limited to 'svx/source/svdraw/svdopath.cxx')
-rw-r--r--svx/source/svdraw/svdopath.cxx4
1 files changed, 4 insertions, 0 deletions
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