sw/source/ui/chrdlg/numpara.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c198a0cf08ee251ca75c5ea5ad3297d9cede2667
Author:     Caolán McNamara <[email protected]>
AuthorDate: Fri Jan 14 11:41:58 2022 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Tue Jan 18 22:19:07 2022 +0100

    tdf#146747 InternalItems has to be null terminated
    
    Change-Id: I15c0afdcae3e9bc1412e6564c15df2196515052e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128427
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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,

Reply via email to