From 33fcbe043a1f163a2cd3380f23529e2d82d783ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 8 May 2013 14:30:26 +0200 Subject: [PATCH] typo in doc --- Circulator/doc/Circulator/CGAL/circulator.h | 3 +-- .../demo/Polyhedron/Polyhedron_demo_nef_plugin.cpp | 10 +--------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Circulator/doc/Circulator/CGAL/circulator.h b/Circulator/doc/Circulator/CGAL/circulator.h index 95bd92ff847..aeb313fa0f4 100644 --- a/Circulator/doc/Circulator/CGAL/circulator.h +++ b/Circulator/doc/Circulator/CGAL/circulator.h @@ -377,8 +377,7 @@ namespace CGAL { The adaptor `Container_from_circulator` is a class that converts any circulator type `C` to a kind of container class, i.e.\ a class that provides an `iterator` and a `const_iterator` -type and two member functions - `begin()` and `end()` -- that return the appropriate iterators. By analogy to \stl container classes these member functions return a const iterator in +type and two member functions (`begin()` and `end()`) that return the appropriate iterators. By analogy to \stl container classes these member functions return a const iterator in the case that the container itself is constant and a mutable iterator otherwise. diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_nef_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_nef_plugin.cpp index c2da2c8f1e4..629cb24755b 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_nef_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_nef_plugin.cpp @@ -31,16 +31,8 @@ public: } bool applicable() const { - const int indexA = scene->selectionAindex(); - const int indexB = scene->selectionBindex(); - return qobject_cast(scene->item(scene->mainSelectionIndex())) - || qobject_cast(scene->item(scene->mainSelectionIndex())) - || qobject_cast(scene->item(indexA)) - || qobject_cast(scene->item(indexB)) - || qobject_cast(scene->item(indexA)) - || qobject_cast(scene->item(indexB)) - ; + || qobject_cast(scene->item(scene->mainSelectionIndex())); } // QList actions() const {