svtools/source/control/valueacc.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6a55299234da6df8bfba760223af30625ac32288
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Mon May 22 08:39:30 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue May 23 18:53:41 2023 +0200

    prevent some "index hint out of range" warnings
    
    Change-Id: Ib3d4dce2e535fb16a0f34c01c03c71927fa5cdd3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152160
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/svtools/source/control/valueacc.cxx 
b/svtools/source/control/valueacc.cxx
index a14676d403fa..cdf759621042 100644
--- a/svtools/source/control/valueacc.cxx
+++ b/svtools/source/control/valueacc.cxx
@@ -421,6 +421,7 @@ void ValueSetAcc::FireAccessibleEvent( short nEventId, 
const uno::Any& rOldValue
     aEvtObject.Source = getXWeak();
     aEvtObject.NewValue = rNewValue;
     aEvtObject.OldValue = rOldValue;
+    aEvtObject.IndexHint = -1;
 
     for (auto const& tmpListener : aTmpListeners)
     {

Reply via email to