summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-07-26 09:07:28 +0000
committerArmin Le Grand <alg@apache.org>2012-07-26 09:07:28 +0000
commit0c170376f7e1896455f439237055e39df020e7ae (patch)
tree62fd50e62c906016e25c673d93364213c6c592d0
parenta7dc3e8b82c87b138c973f1434717d634ed8dc67 (diff)
#116244# need to reset rotation when a polygon object in construction becomes more than a simple line
Notes
-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 6e7c0eabb11d..b62ac517f3c8 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -1799,6 +1799,10 @@ void SdrPathObj::ImpForceKind()
{
aRect = ImpGetBoundRect(GetPathPoly());
}
+
+ // #116244# reset rotation
+ aGeo.nDrehWink = aGeo.nShearWink = 0;
+ aGeo.RecalcSinCos(); aGeo.RecalcTan();
}
// #i75974# adapt polygon state to object type. This may include a reinterpretation