summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-22 12:31:37 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-22 15:28:07 +0100
commit0f76224163cc9abed30d4964f58a35e6d33bf95d (patch)
treebfcac0d56c9eed1799d4465813ea37cf05ae4ae6 /sw/source
parent7aa24c8064c7f6562a1a98f087b468bdc379133a (diff)
cid#1636856 silence Explicit null dereferenced
and cid#1636859 Explicit null dereferenced Change-Id: I6e618bebd0f61a1e796b367343bb98e7a01d29b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179139 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 3b3584569e73..2bc41b0889a4 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -1775,6 +1775,7 @@ void SwCreateAuthEntryDlg_Impl::SetFields(const OUString pFields[], bool bNewEnt
OUString aText = pFields[aCurInfo.nToxField], aUrl;
if (int nPageNumber; AUTH_FIELD_LOCAL_URL == aCurInfo.nToxField && SplitUrlAndPage(aText, aUrl, nPageNumber))
{
+ assert(m_xLocalPageCB && m_xLocalPageSB);
m_pEdits[nIndex]->set_text(aUrl);
m_xLocalPageCB->set_active(true);
m_xLocalPageSB->set_sensitive(true);