diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-02 17:57:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-03 09:17:09 +0200 |
commit | 8662a96c90b56f61bf24380094f217e7170f54be (patch) | |
tree | 8f7655d59e15cc2f7a8f98819408dd50698f7bc9 /uui | |
parent | 3cc6384e41819eb8a5182a9ab7fd8f74d3cea9e5 (diff) |
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: I9b2b86c26e08221c57735c6eda88727aa8a46b5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167021
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/secmacrowarnings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx index 777ffbd8cf93..8868e93d5cd2 100644 --- a/uui/source/secmacrowarnings.cxx +++ b/uui/source/secmacrowarnings.cxx @@ -108,7 +108,7 @@ IMPL_LINK_NOARG(MacroWarning, EnableBtnHdl, weld::Button&, void) xD->addAuthorToTrustedSources( mxCert ); else if( mxStore.is() ) { - DBG_ASSERT( mpInfos, "-MacroWarning::EnableBtnHdl(): no infos, search in nirvana..." ); + assert(mpInfos && "-MacroWarning::EnableBtnHdl(): no infos, search in nirvana..."); sal_Int32 nCnt = mpInfos->getLength(); for( sal_Int32 i = 0 ; i < nCnt ; ++i ) |