From 6469d5e5682cf17a4eabef0debba8b6e7e23ecc9 Mon Sep 17 00:00:00 2001 From: Laurent Saboret Date: Fri, 26 Jun 2009 13:05:49 +0000 Subject: [PATCH] Fixed error message on cerr in Qt Point Set demo. --- Point_set_processing_3/include/CGAL/IO/read_off_points.h | 4 ++-- Point_set_processing_3/include/CGAL/IO/read_xyz_points.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Point_set_processing_3/include/CGAL/IO/read_off_points.h b/Point_set_processing_3/include/CGAL/IO/read_off_points.h index 0e20087d453..e721ba7bbbb 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_off_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_off_points.h @@ -91,8 +91,8 @@ read_off_points_and_normals( if ( !(iss >> signature) || (signature != "OFF" && signature != "NOFF") ) { - // if unsupported file format - std::cerr << "Incorrect file format line " << lineNumber << " of file" << std::endl; + // if wrong file format + //std::cerr << "Incorrect file format line " << lineNumber << " of file" << std::endl; return false; } } diff --git a/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h b/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h index ffecaca5e74..ec0cb28824d 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h @@ -110,7 +110,8 @@ read_xyz_points_and_normals( } else { - std::cerr << "Error line " << lineNumber << " of file" << std::endl; + // if wrong file format + //std::cerr << "Error line " << lineNumber << " of file" << std::endl; return false; } }