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:19 +0200 |
commit | 564548309f2fac225d85210f2fad1a7cd677212a (patch) | |
tree | 5fe3aa84c4734bd1500c0c671422bc1a1c0f477f /kig/filters/native-filter.cc | |
parent | 368f446f5ba98d8be4b94c30670c0d737cd3e83d (diff) | |
download | tdeedu-564548309f2fac225d85210f2fad1a7cd677212a.tar.gz tdeedu-564548309f2fac225d85210f2fad1a7cd677212a.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kig/filters/native-filter.cc')
-rw-r--r-- | kig/filters/native-filter.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kig/filters/native-filter.cc b/kig/filters/native-filter.cc index 4ffe26a6..cf6521b2 100644 --- a/kig/filters/native-filter.cc +++ b/kig/filters/native-filter.cc @@ -194,7 +194,7 @@ KigDocument* KigFilterNative::load( const TQString& file ) { notSupported( file, i18n( "This file was created by Kig version \"%1\", " "which this version cannot open." ).arg( version ) ); - return false; + return 0; } else if ( major == 0 && minor <= 3 ) { @@ -205,7 +205,7 @@ KigDocument* KigFilterNative::load( const TQString& file ) "version (0.4 to 0.6),\n" "and then save it again, which will save it in the " "new format." ).arg( version ) ); - return false; + return 0; } else if ( major == 0 && minor <= 6 ) return load04( file, main ); @@ -301,7 +301,7 @@ KigDocument* KigFilterNative::load04( const TQString& file, const TQDomElement& if ( ( !imp ) && !error.isEmpty() ) { parseError( file, error ); - return false; + return 0; } o = new ObjectConstCalcer( imp ); } @@ -339,7 +339,7 @@ KigDocument* KigFilterNative::load04( const TQString& file, const TQDomElement& "Perhaps you have compiled Kig without support " "for this object type," "or perhaps you are using an older Kig version." ).arg( tmp ) ); - return false; + return 0; }; std::vector<ObjectCalcer*> parents; @@ -459,7 +459,7 @@ KigDocument* KigFilterNative::load07( const TQString& file, const TQDomElement& if ( ( !imp ) && !error.isEmpty() ) { parseError( file, error ); - return false; + return 0; } o = new ObjectConstCalcer( imp ); } @@ -486,7 +486,7 @@ KigDocument* KigFilterNative::load07( const TQString& file, const TQDomElement& "Perhaps you have compiled Kig without support " "for this object type," "or perhaps you are using an older Kig version." ).arg( tmp ) ); - return false; + return 0; } // mp: (I take the responsibility for this!) explanation: the usual ObjectTypeCalcer |