Code

NR::Maybe => boost::optional
[inkscape.git] / src / vanishing-point.cpp
index dcf8d6e71ee0f99bf95671c4f2c7d663da0f8660..ac123792db6c595975fb53bca033f16ab0170658 100644 (file)
@@ -677,7 +677,7 @@ VPDrag::drawLinesForFace (const SPBox3D *box, Proj::Axis axis) //, guint corner1
         }
     } else {
         // draw perspective lines for infinite VPs
-        NR::Maybe<NR::Point> pt1, pt2, pt3, pt4;
+        boost::optional<NR::Point> pt1, pt2, pt3, pt4;
         Persp3D *persp = box3d_get_perspective(box);
         SPDesktop *desktop = inkscape_active_desktop (); // FIXME: Store the desktop in VPDrag
         Box3D::PerspectiveLine pl (corner1, axis, persp);