Salome HOME
patch for correct compilation on Linux
[modules/hydro.git] / src / HYDROData / HYDROData_PolylineXY.h
index 45ea7459654e8800e7663b331f880341c2389481..5ce65a94cb72fa52920917ca99db967fb3b65191 100644 (file)
@@ -57,9 +57,10 @@ public:
   /**
    * Returns the presentation of polyline section in Qt maner.
    */
-  HYDRODATA_EXPORT static QPainterPath BuildPainterPath( const SectionType&                  theType,
-                                                         const bool&                         theIsClosed,
-                                                         const NCollection_Sequence<gp_XYZ>& thePoints );
+  HYDRODATA_EXPORT static void BuildPainterPath( QPainterPath&                       thePath,
+                                                 const SectionType&                  theType,
+                                                 const bool&                         theIsClosed,
+                                                 const NCollection_Sequence<gp_XYZ>& thePoints );
 
 public: