Kaydet (Commit) 3ca8c0e0 authored tarafından Armin Le Grand's avatar Armin Le Grand

#54102# Removed IsInserted() check for doing transformations to have them on interactions

üst fb2866c6
......@@ -2264,8 +2264,8 @@ void SdrEdgeObj::NbcResize(const Point& rRefPnt, const Fraction& aXFact, const F
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& rRef, long nWink, double sn, double cs)
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& rRef1, const Point& rRef2)
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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment