[Libreoffice-commits] core.git: svx/source

Julien Nabet serval2412 at yahoo.fr
Wed Feb 27 11:24:10 PST 2013


 svx/source/svdraw/svdoedge.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 2e8d0fcad75d9b28c384ddac03bb45186694231f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Feb 27 20:21:04 2013 +0100

    Remove unused assignments
    
    See http://nabble.documentfoundation.org/Question-cppcheck-reports-on-svx-source-svdraw-svdoedge-cxx-Bezier-curve-td4025235.html
    
    Change-Id: Ic091d2b84254679462cc796032a01e815538af26

diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index 707b748..a62ec29 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -1447,10 +1447,8 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rec
             Point aPt3(*pPt2);
             aXP1.Insert(2,aPt3,XPOLY_CONTROL);
             nPntAnz=aXP1.GetPointCount();
-            pPt1=&aXP1[0];
             pPt2=&aXP1[1];
             pPt3=&aXP1[nPntAnz-2];
-            pPt4=&aXP1[nPntAnz-1];
             pPt2->X()-=dx1/3;
             pPt2->Y()-=dy1/3;
             pPt3->X()-=dx2/3;


More information about the Libreoffice-commits mailing list