diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-13 16:01:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-13 21:51:41 +0200 |
commit | 65c324f9022a20acb4f549ef103720683ab11593 (patch) | |
tree | 2a95f6478ecbf999595120a5f14f749b5e960865 /sw | |
parent | d5d7f94f4911b293812d421493ae0c633628bba1 (diff) |
WaE: Wmaybe-uninitialized
Change-Id: I44c0f768106b721051a3a8e9ea3446da76da6fd2
Reviewed-on: https://gerrit.libreoffice.org/55761
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/docsh2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |