summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kbarcode/tec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbarcode/tec.cpp b/kbarcode/tec.cpp
index 3d9b5c8..9cdfbc1 100644
--- a/kbarcode/tec.cpp
+++ b/kbarcode/tec.cpp
@@ -67,14 +67,14 @@ TQString tec452(const TQString &url, int count, const TQString &art, const TQStr
TQFile f( filename );
if ( !f.open( IO_ReadOnly ) )
- return false;
+ return 0;
//clearLabel();
TQDomDocument doc( "KBarcodeLabel" );
if ( !doc.setContent( &f ) ) {
f.close();
- return false;
+ return 0;
}
f.close();