improvements to ModifyEventForwarder

Desktop / LibreOffice - Noel Grandin [gmail.com] - 14 January 2022 08:08 UTC

(*) Firstly, the XWeak machinery in here was never useful. This class has always used hard references to its listeners. So just remove all that. (*) Convert from osl::Mutex to std::mutex and use the latest utility classes in comphelper with that.

Change-Id: Id129527cf53da6d7a9f6e1c76b556c57fe1a0270 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128393

b32e46fbc3b5 improvements to ModifyEventForwarder
chart2/source/inc/ModifyListenerHelper.hxx | 43 ++-------
chart2/source/tools/ModifyListenerHelper.cxx | 129 +++------------------------
2 files changed, 21 insertions(+), 151 deletions(-)

Upstream: cgit.freedesktop.org


  • Share