mirror of https://github.com/CGAL/cgal
fix warning in CGAL_ipelets
This commit is contained in:
parent
d200ad2748
commit
1c7fe052d3
|
|
@ -66,7 +66,7 @@ namespace CGAL{
|
|||
ipe::TSelect get_selection_type() const { return get_IpePage()->primarySelection()==-1 ? ipe::EPrimarySelected : ipe::ESecondarySelected;}
|
||||
//ipe6 compatibility
|
||||
void transform_selected_objects_(const IpeMatrix& tfm) const {
|
||||
for (int i=0;i<get_IpePage()->count();++i)
|
||||
for (int i=0;i<static_cast<int>(get_IpePage()->count());++i)
|
||||
if (get_IpePage()->select(i)!=ipe::ENotSelected)
|
||||
get_IpePage()->transform(i,tfm);
|
||||
}
|
||||
|
|
@ -276,7 +276,7 @@ public:
|
|||
return Iso_rectangle_2();
|
||||
}
|
||||
|
||||
for (int i=0;i<get_IpePage()->count();++i){
|
||||
for (int i=0;i<static_cast<int>(get_IpePage()->count());++i){
|
||||
if (get_IpePage()->select(i)==ipe::ENotSelected)
|
||||
continue;
|
||||
|
||||
|
|
@ -308,7 +308,7 @@ public:
|
|||
create_polygon_with_holes(bool delete_underlying_polygons=false) const
|
||||
{
|
||||
std::list<ipe::SubPath*> SSPqu;
|
||||
for (int i=0;i<get_IpePage()->count();++i){
|
||||
for (int i=0;i<static_cast<int>(get_IpePage()->count());++i){
|
||||
if (get_IpePage()->select(i)!=ipe::ENotSelected && get_IpePage()->object(i)->asPath()->shape().subPath(0)->closed() ){
|
||||
ipe::SubPath* ssp=new ipe::Curve(*get_IpePage()->object(i)->asPath()->shape().subPath(0)->asCurve());
|
||||
SSPqu.push_back(ssp);
|
||||
|
|
|
|||
Loading…
Reference in New Issue