Salome HOME
#1112 tab key doesn't work on the last field of left panels
[modules/shaper.git] / src / GeomAPI / GeomAPI_Ax1.cpp
index dcf5a987a4803e66da6f7a2ab9dfbeb049e06bd8..65bc65bb4f60d98b1992494de568347fa9bbe073 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <gp_Ax1.hxx>
 
-#define MY_AX1 static_cast<gp_Ax1*>(myImpl)
+#define MY_AX1 implPtr<gp_Ax1>()
 
 //=================================================================================================
 GeomAPI_Ax1::GeomAPI_Ax1()
@@ -63,4 +63,4 @@ std::shared_ptr<GeomAPI_Ax1> GeomAPI_Ax1::reversed()
   std::shared_ptr<GeomAPI_Pnt> aPnt(new GeomAPI_Pnt(anAxis.Location().X(), anAxis.Location().Y(), anAxis.Location().Z()));
   std::shared_ptr<GeomAPI_Dir> aDir(new GeomAPI_Dir(anAxis.Direction().X(), anAxis.Direction().Y(), anAxis.Direction().Z()));
   return std::shared_ptr<GeomAPI_Ax1>(new GeomAPI_Ax1(aPnt, aDir));
-}
\ No newline at end of file
+}