summaryrefslogtreecommitdiffstats
path: root/umbrello
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:14:02 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:14:02 +0200
commit6dcbd0e68452bb64057e97a7c648478f2511b3f2 (patch)
treead9b1663062aa6824a00602f79d78a5c2b425ceb /umbrello
parent21f0554315868771c8ad11ce53db403e4534a8e7 (diff)
downloadtdesdk-6dcbd0e68452bb64057e97a7c648478f2511b3f2.tar.gz
tdesdk-6dcbd0e68452bb64057e97a7c648478f2511b3f2.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'umbrello')
-rw-r--r--umbrello/umbrello/docgenerators/docbookgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/docgenerators/docbookgenerator.cpp b/umbrello/umbrello/docgenerators/docbookgenerator.cpp
index bc7107f8..a012b703 100644
--- a/umbrello/umbrello/docgenerators/docbookgenerator.cpp
+++ b/umbrello/umbrello/docgenerators/docbookgenerator.cpp
@@ -97,7 +97,7 @@ TDEIO::Job* DocbookGenerator::generateDocbookForProjectInto(const KURL& destDir)
// lets open the file for writing
if( !file.open( IO_WriteOnly ) ) {
KMessageBox::error(0, i18n("There was a problem saving file: %1").arg(tmpfile.name()), i18n("Save Error"));
- return false;
+ return 0;
}
umlDoc->saveToXMI(*TQT_TQIODEVICE(&file)); // save the xmi stuff to it
file.close();