diff options
author | Slávek Banko <[email protected]> | 2016-09-03 17:54:46 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-03 17:54:46 +0200 |
commit | d01e804f0f8d0ce1878ec192beb9cbe3dab634d5 (patch) | |
tree | 8f5b2a6bdee53a60614fd376b0b10f4cb07ffa82 | |
parent | 3c07b106707360b6e0f7a6b596afc5be0cfae249 (diff) | |
download | kbarcode-d01e804f0f8d0ce1878ec192beb9cbe3dab634d5.tar.gz kbarcode-d01e804f0f8d0ce1878ec192beb9cbe3dab634d5.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | kbarcode/tec.cpp | 4 |
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(); |