summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:54:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:54:57 +0200
commitd3b51c2644b1310a02fa2fff7872e74986242eb6 (patch)
treeef1bdb90f69cc48d519131e95418a9462e1ece00
parent56341c9cdb776a1a8fd3ed3bdf28d3146f2f4e17 (diff)
downloadkbarcode-d3b51c2644b1310a02fa2fff7872e74986242eb6.tar.gz
kbarcode-d3b51c2644b1310a02fa2fff7872e74986242eb6.zip
Fix FTBFS with GCC6r14.0.4
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d01e804f0f8d0ce1878ec192beb9cbe3dab634d5)
-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();