diff options
author | Armin Le Grand <alg@apache.org> | 2012-07-26 09:07:28 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-07-26 09:07:28 +0000 |
commit | 0c170376f7e1896455f439237055e39df020e7ae (patch) | |
tree | 62fd50e62c906016e25c673d93364213c6c592d0 | |
parent | a7dc3e8b82c87b138c973f1434717d634ed8dc67 (diff) |
#116244# need to reset rotation when a polygon object in construction becomes more than a simple line
Notes
Notes:
merged as: 20dee85b6390ef3edc5434889523cd9fd0137bae
-rw-r--r-- | svx/source/svdraw/svdopath.cxx | 4 |
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 |