From cc79a7fd35ba7981c10f43a30191fd09f98d04b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 16:57:19 +0200 Subject: Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 564548309f2fac225d85210f2fad1a7cd677212a) --- kig/filters/kseg-filter.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kig/filters/kseg-filter.cc') diff --git a/kig/filters/kseg-filter.cc b/kig/filters/kseg-filter.cc index 2028bf69..1567ed37 100644 --- a/kig/filters/kseg-filter.cc +++ b/kig/filters/kseg-filter.cc @@ -202,7 +202,7 @@ KigDocument* KigFilterKSeg::load( const TQString& file ) if ( ! ffile.open( IO_ReadOnly ) ) { fileNotFound( file ); - return false; + return 0; }; KigDocument* retdoc = new KigDocument(); @@ -558,19 +558,19 @@ KigDocument* KigFilterKSeg::load( const TQString& file ) { notSupported( file, i18n( "This KSeg file contains a filled circle, " "which Kig does not currently support." ) ); - return false; + return 0; }; case G_ARCSECTOR: { notSupported( file, i18n( "This KSeg file contains an arc sector, " "which Kig does not currently support." ) ); - return false; + return 0; }; case G_ARCSEGMENT: { notSupported( file, i18n( "This KSeg file contains an arc segment, " "which Kig does not currently support." ) ); - return false; + return 0; }; case G_LOCUS: { -- cgit v1.2.1