introduce sw::WriterMultiListener

Desktop / LibreOffice - Bjoern Michaelsen [libreoffice.org] - 11 March 2018 22:32 EDT

- it can handle multple sources to listen to: this should make SwDepend (always been a hack) soon obsolete- also add a unittest for it- WriterMultiListener notifies via hints about reregistering, so help migrating away from these crazy static_cast<>(GetRegisteredIn())- fix expected<->actual asserts in uwriter.cxx

Change-Id: I8c70826d1a8be5c8097d81304f0df42bb7319cd4 Reviewed-on: https://gerrit.libreoffice.org/49565

5c04518c2d4b introduce sw::WriterMultiListener
sw/inc/calbck.hxx | 56 ++++++++++++++++++---
sw/qa/core/uwriter.cxx | 112 ++++++++++++++++++++++++++---------------
sw/source/core/attr/calbck.cxx | 70 +++++++++++++++++++++-----
3 files changed, 180 insertions(+), 58 deletions(-)

Upstream: cgit.freedesktop.org


  • Share