From 6a55299234da6df8bfba760223af30625ac32288 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 May 2023 08:39:30 +0200 Subject: [PATCH] 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 --- svtools/source/control/valueacc.cxx | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.11.4.GIT