From 6dcbd0e68452bb64057e97a7c648478f2511b3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Sat, 3 Sep 2016 17:14:02 +0200
Subject: Fix FTBFS with GCC6
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 umbrello/umbrello/docgenerators/docbookgenerator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'umbrello')

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();
-- 
cgit v1.2.1