summaryrefslogtreecommitdiffstats
path: root/kexi/main
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:57:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:57:54 +0200
commit0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d (patch)
tree08d92ab43c99c6b557571ab8261588b2968b6c5c /kexi/main
parenta3814fe7ed9a0e00589137b194a4ebbfec75079b (diff)
downloadkoffice-0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d.tar.gz
koffice-0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kexi/main')
-rw-r--r--kexi/main/keximainwindowimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/main/keximainwindowimpl.cpp b/kexi/main/keximainwindowimpl.cpp
index 6730c84b..bede2259 100644
--- a/kexi/main/keximainwindowimpl.cpp
+++ b/kexi/main/keximainwindowimpl.cpp
@@ -3697,7 +3697,7 @@ KexiMainWindowImpl::openObjectFromNavigator(KexiPart::Item* item, int viewMode,
return 0;
}
if (!d->prj || !item)
- return false;
+ return 0;
#ifndef KEXI_NO_PENDING_DIALOGS
Private::PendingJobType pendingType;
KexiDialogBase *dlg = d->openedDialogFor( item, pendingType );