summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-22 08:39:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-23 18:53:41 +0200
commit6a55299234da6df8bfba760223af30625ac32288 (patch)
treeca1427360795cf5897550f04e47a9771971728b1 /svtools
parentbd5c3582581f37513f45b518e348f443d5d57334 (diff)
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.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueacc.cxx1
1 files changed, 1 insertions, 0 deletions
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)
{