sw/source/uibase/app/docsh2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 65c324f9022a20acb4f549ef103720683ab11593 Author: Caolán McNamara <caol...@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 <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits