summaryrefslogtreecommitdiffstats
path: root/kig/filters/native-filter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/filters/native-filter.cc')
-rw-r--r--kig/filters/native-filter.cc12
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