diff options
author | Slávek Banko <[email protected]> | 2016-09-03 16:57:19 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-03 16:57:32 +0200 |
commit | cc79a7fd35ba7981c10f43a30191fd09f98d04b3 (patch) | |
tree | bc3614a96dc36418d9d47eca05141d973aa5b6db /kig/filters/kseg-filter.cc | |
parent | b9c36b31669a03a049b69a5326c1fa3b51f9952b (diff) | |
download | tdeedu-cc79a7fd35ba7981c10f43a30191fd09f98d04b3.tar.gz tdeedu-cc79a7fd35ba7981c10f43a30191fd09f98d04b3.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 564548309f2fac225d85210f2fad1a7cd677212a)
Diffstat (limited to 'kig/filters/kseg-filter.cc')
-rw-r--r-- | kig/filters/kseg-filter.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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: { |