diff options
| author | Armin Le Grand <alg@apache.org> | 2012-07-26 09:07:28 +0000 |
|---|---|---|
| committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-18 15:23:28 +0100 |
| commit | 20dee85b6390ef3edc5434889523cd9fd0137bae (patch) | |
| tree | 816f3344cafa2fc1b2fc1af0d5283f2cb9af6b99 | |
| parent | 196ec14db1d4f39e25c83517cc7bad4d78ee6572 (diff) | |
Resolves: #i116244# need to reset rotation...
when a polygon object in construction becomes more than a simple line
(cherry picked from commit 0c170376f7e1896455f439237055e39df020e7ae)
Change-Id: Ic3b3676b8932b40b1d0206220503cbcdea7385cd
| -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 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 |
