X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Lin2d.cpp;h=3f956050f4d6bcb7b50b15b77f6fe99981a6ebb5;hb=bdbfb368d71ed11cc0391354a7d86c880cd94949;hp=2d97bd6c8747d49e9af1346e2397eef2f003a089;hpb=4507796772cdf8f63bc0bdb452b5013094fe7036;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Lin2d.cpp b/src/GeomAPI/GeomAPI_Lin2d.cpp index 2d97bd6c8..3f956050f 100644 --- a/src/GeomAPI/GeomAPI_Lin2d.cpp +++ b/src/GeomAPI/GeomAPI_Lin2d.cpp @@ -103,5 +103,6 @@ std::shared_ptr GeomAPI_Lin2d::shiftedLocation(double theShift) c aVec.Reverse(); aVec.Scale(theShift); gp_Lin2d aLin = MY_LIN2D->Translated(aVec); - return std::shared_ptr(new GeomAPI_Pnt2d(aLin.Location().X(), aLin.Location().Y())); + return std::shared_ptr(new GeomAPI_Pnt2d(aLin.Location().X(), + aLin.Location().Y())); }