summaryrefslogtreecommitdiffstats
path: root/kexi/main
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-03 17:57:54 +0200
committerSlávek Banko <[email protected]>2016-09-03 17:58:05 +0200
commit8abf888c7d3f3a277fe04ef97df6185dadd9fa48 (patch)
tree6f66259872aef1e5216e5ca43da2d2b27d83b703 /kexi/main
parent08500cc118c149f1c8364eaf9ab505ace28913fa (diff)
downloadkoffice-8abf888c7d3f3a277fe04ef97df6185dadd9fa48.tar.gz
koffice-8abf888c7d3f3a277fe04ef97df6185dadd9fa48.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 0b9e390c01029f4f1a8c0263e532fc1c3faf2b7d)
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 );