From d1ad2ff49d4e8778191b081f03fbac6ad754b4da Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Thu, 14 Feb 2019 11:10:33 +0100 Subject: [PATCH] fix casts. --- CGAL_ipelets/include/CGAL/CGAL_Ipelet_base_v7.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CGAL_ipelets/include/CGAL/CGAL_Ipelet_base_v7.h b/CGAL_ipelets/include/CGAL/CGAL_Ipelet_base_v7.h index 3d88f1e7895..37562338996 100644 --- a/CGAL_ipelets/include/CGAL/CGAL_Ipelet_base_v7.h +++ b/CGAL_ipelets/include/CGAL/CGAL_Ipelet_base_v7.h @@ -72,14 +72,14 @@ namespace CGAL{ } void delete_selected_objects_() const { - for (unsigned i=static_cast(get_IpePage()->count());i>0;--i) + for (unsigned i=static_cast(get_IpePage()->count());i>0;--i) if (get_IpePage()->select(i-1)!=ipe::ENotSelected) get_IpePage()->remove(i-1); } void group_selected_objects_() const { ipe::Group* grp=new ipe::Group(); - for (unsigned i=static_cast(get_IpePage()->count());i>0;--i) + for (unsigned i=static_cast(get_IpePage()->count());i>0;--i) if (get_IpePage()->select(i-1)!=ipe::ENotSelected){ grp->push_back( get_IpePage()->object(i-1)->clone() ); //~ grp->push_back( get_IpePage()->object(i-1) );