diff --git a/GraphicsView/demo/Polygon_repair/Boolean_2.cpp b/GraphicsView/demo/Polygon_repair/Boolean_2.cpp index 3d3bd0947d6a..a370033ff24d 100644 --- a/GraphicsView/demo/Polygon_repair/Boolean_2.cpp +++ b/GraphicsView/demo/Polygon_repair/Boolean_2.cpp @@ -154,8 +154,9 @@ MainWindow::MainWindow() this->setupOptionsMenu(); this->addAboutDemo(":/cgal/help/about_Polygon_2.html"); this->addAboutCGAL(); - // this->setupExportSVG(action_Export_SVG, graphicsView); - +#if QT_SVG_LIB + this->setupExportSVG(action_Export_SVG, graphicsView); +#endif this->addRecentFiles(this->menuFile, this->actionQuit); connect(this, SIGNAL(openRecentFile(QString)), this, SLOT(open(QString))); diff --git a/GraphicsView/include/CGAL/Qt/GraphicsViewPolygonWithHolesInput.h b/GraphicsView/include/CGAL/Qt/GraphicsViewPolygonWithHolesInput.h index e97c999ee10f..24c60dcdcf6e 100644 --- a/GraphicsView/include/CGAL/Qt/GraphicsViewPolygonWithHolesInput.h +++ b/GraphicsView/include/CGAL/Qt/GraphicsViewPolygonWithHolesInput.h @@ -90,7 +90,7 @@ typedef CGAL::Polygon_with_holes_2 Polygon_with_holes; template GraphicsViewPolygonWithHolesInput::GraphicsViewPolygonWithHolesInput(QObject *parent, QGraphicsScene* s) - : GraphicsViewInput(parent), scene_(s), polygon_input(false) + : GraphicsViewInput(parent), polygon_input(false), scene_(s) { pwhItem = new CGAL::Qt::PolygonWithHolesGraphicsItem(&pwh); pwhItem->setBrush(::Qt::yellow); @@ -151,7 +151,7 @@ GraphicsViewPolygonWithHolesInput::processInput(CGAL::Object o) template void -GraphicsViewPolygonWithHolesInput::keyPressEvent ( QKeyEvent * event ) +GraphicsViewPolygonWithHolesInput::keyPressEvent ( QKeyEvent * /* event */ ) { } diff --git a/Polygon_repair/include/CGAL/Polygon_repair/Boolean.h b/Polygon_repair/include/CGAL/Polygon_repair/Boolean.h index 4ea0eb62f397..a726139d70df 100644 --- a/Polygon_repair/include/CGAL/Polygon_repair/Boolean.h +++ b/Polygon_repair/include/CGAL/Polygon_repair/Boolean.h @@ -284,7 +284,7 @@ sets the polygons as input of the %Boolean operation. reconstruct_ring(std::list& ring, Face_handle face_adjacent_to_boundary, int opposite_vertex, - const Fct& fct) + const Fct& CGAL_assertion_code(fct)) { // Create ring Face_handle current_face = face_adjacent_to_boundary;