Code

complete adding const to have only NArtBpath const * get_bpath() const; for accessing...
[inkscape.git] / src / box3d-side.cpp
index 2fff9f7b5933586e89a05dedd60232e8efc8c9a2..4bd10e854d3c984e0c62f3ca0e6d4e0b16dc55b9 100644 (file)
@@ -121,12 +121,12 @@ box3d_side_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
     sp_shape_set_shape ((SPShape *) object);
 
     /* Duplicate the path */
-    SPCurve *curve = ((SPShape *) object)->curve;
+    SPCurve const *curve = ((SPShape *) object)->curve;
     //Nulls might be possible if this called iteratively
     if ( !curve ) {
         return NULL;
     }
-    NArtBpath *bpath = SP_CURVE_BPATH(curve);
+    NArtBpath const *bpath = SP_CURVE_BPATH(curve);
     if ( !bpath ) {
         return NULL;
     }