incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1365933 - /incubator/ooo/trunk/main/svx/source/svdraw/svdopath.cxx
Date Thu, 26 Jul 2012 10:07:28 GMT
Author: alg
Date: Thu Jul 26 10:07:28 2012
New Revision: 1365933

URL: http://svn.apache.org/viewvc?rev=1365933&view=rev
Log:
#116244# need to reset rotation when a polygon object in construction becomes more than a
simple line

Modified:
    incubator/ooo/trunk/main/svx/source/svdraw/svdopath.cxx

Modified: incubator/ooo/trunk/main/svx/source/svdraw/svdopath.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svx/source/svdraw/svdopath.cxx?rev=1365933&r1=1365932&r2=1365933&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svx/source/svdraw/svdopath.cxx (original)
+++ incubator/ooo/trunk/main/svx/source/svdraw/svdopath.cxx Thu Jul 26 10:07:28 2012
@@ -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



Mime
View raw message