incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1351701 - /incubator/ooo/trunk/main/svx/source/svdraw/svdoedge.cxx
Date Tue, 19 Jun 2012 13:07:06 GMT
Author: alg
Date: Tue Jun 19 13:07:05 2012
New Revision: 1351701

URL: http://svn.apache.org/viewvc?rev=1351701&view=rev
Log:
#54102# Removed IsInserted() check for doing transformations to have them on interactions

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

Modified: incubator/ooo/trunk/main/svx/source/svdraw/svdoedge.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svx/source/svdraw/svdoedge.cxx?rev=1351701&r1=1351700&r2=1351701&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svx/source/svdraw/svdoedge.cxx (original)
+++ incubator/ooo/trunk/main/svx/source/svdraw/svdoedge.cxx Tue Jun 19 13:07:05 2012
@@ -2264,8 +2264,8 @@ void SdrEdgeObj::NbcResize(const Point& 
 void SdrEdgeObj::NbcRotate(const Point& rRef, long nWink, double sn, double cs)
 {
     // handle start and end point if not connected
-	FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage && aCon1.pObj->IsInserted();
-	FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage && aCon2.pObj->IsInserted();
+	FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage;
+	FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage;
 
     if(!bCon1 && pEdgeTrack)
     {
@@ -2285,8 +2285,8 @@ void SdrEdgeObj::NbcRotate(const Point& 
 void SdrEdgeObj::NbcMirror(const Point& rRef1, const Point& rRef2)
 {
     // handle start and end point if not connected
-	FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage && aCon1.pObj->IsInserted();
-	FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage && aCon2.pObj->IsInserted();
+	FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage;
+	FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage;
 
     if(!bCon1 && pEdgeTrack)
     {
@@ -2306,8 +2306,8 @@ void SdrEdgeObj::NbcMirror(const Point& 
 void SdrEdgeObj::NbcShear(const Point& rRef, long nWink, double tn, FASTBOOL bVShear)
 {
     // handle start and end point if not connected
-	FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage && aCon1.pObj->IsInserted();
-	FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage && aCon2.pObj->IsInserted();
+	FASTBOOL bCon1=aCon1.pObj!=NULL && aCon1.pObj->GetPage()==pPage;
+	FASTBOOL bCon2=aCon2.pObj!=NULL && aCon2.pObj->GetPage()==pPage;
 
     if(!bCon1 && pEdgeTrack)
     {



Mime
View raw message