From 8d8e6c84e512c1a8b33aac75965b84481d1a1d13 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 3 Jul 2022 20:29:28 +0200 Subject: [API CHANGE] Drop css::accessibility::XAccessibleStateSet which is internal API, unused (as far as I can tell) by external users. This state is purely a bitset (as implemented by utl::AccessibleStateSetHelper) so we can just return it as a 64-bit value. This shaves significant time off the performance profiles of code that loads very complex shapes, because this state is frequently used, and we no longer need to allocate a return value on the heap for every call. Change-Id: Icf1b3bd367c256646ae9015f9127025f59459c2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136786 Reviewed-by: Michael Weghorn Tested-by: Jenkins Reviewed-by: Noel Grandin --- winaccessibility/inc/AccMenuEventListener.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winaccessibility/inc/AccMenuEventListener.hxx') diff --git a/winaccessibility/inc/AccMenuEventListener.hxx b/winaccessibility/inc/AccMenuEventListener.hxx index c0efc33fced8..a029b0065c4b 100644 --- a/winaccessibility/inc/AccMenuEventListener.hxx +++ b/winaccessibility/inc/AccMenuEventListener.hxx @@ -47,7 +47,7 @@ public: virtual void HandleSelectionChangedEventNoArgs(); //for state changed event - virtual void FireStatePropertyChange(short state, bool set) override; + virtual void FireStatePropertyChange(sal_Int64 state, bool set) override; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit