summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-14 11:41:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-01-14 13:51:06 +0100
commit168bd36582a1795a1b2a64a62afef742c3e017a6 (patch)
tree9217fb05fde768aad7bd7e34bb90fd5a397140eb /sw/source/ui
parentb1ec326619f7b91e56252b992159fd00bbff2ba7 (diff)
tdf#146747 InternalItems has to be null terminated
Change-Id: I15c0afdcae3e9bc1412e6564c15df2196515052e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128412 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/chrdlg/numpara.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx
index 272763a43b56..00e9a3b607bd 100644
--- a/sw/source/ui/chrdlg/numpara.cxx
+++ b/sw/source/ui/chrdlg/numpara.cxx
@@ -323,8 +323,9 @@ bool SwParagraphNumTabPage::ExecuteEditNumStyle_Impl(
weld::Window* pDialogParent = GetFrameWeld();
css::uno::Any aAny(pDialogParent->GetXWindow());
SfxUnoAnyItem aDialogParent(SID_DIALOG_PARENT, aAny);
- const SfxPoolItem* pInternalItems[ 1 ];
+ const SfxPoolItem* pInternalItems[ 2 ];
pInternalItems[ 0 ] = &aDialogParent;
+ pInternalItems[ 1 ] = nullptr;
const SfxPoolItem* pItem = rDispatcher.Execute(
nId, SfxCallMode::SYNCHRON | SfxCallMode::RECORD,