[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Wed Jun 13 19:52:05 UTC 2018
sw/source/uibase/app/docsh2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 65c324f9022a20acb4f549ef103720683ab11593
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 13 16:01:50 2018 +0100
WaE: Wmaybe-uninitialized
Change-Id: I44c0f768106b721051a3a8e9ea3446da76da6fd2
Reviewed-on: https://gerrit.libreoffice.org/55761
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx
index ad08b8f24321..14330d4b8f95 100644
--- a/sw/source/uibase/app/docsh2.cxx
+++ b/sw/source/uibase/app/docsh2.cxx
@@ -380,7 +380,7 @@ bool SwDocShell::PrepareClose( bool bUI )
SW_MOD()->CallAutomationApplicationEventSinks( "DocumentBeforeClose", aArgs );
// If the Cancel argument was set to True by an event handler, return false.
- bool bCancel;
+ bool bCancel(false);
aArgs[1] >>= bCancel;
if (bCancel)
bRet = false;
More information about the Libreoffice-commits
mailing list