sw/inc/calbck.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 13c5a3b07e4dd66a80bd20556dffbd96a910bb74 Author: Akshay Kumar Dubey <akshaymani...@gmail.com> AuthorDate: Wed Feb 26 14:49:10 2025 +0530 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Thu Mar 20 07:57:17 2025 +0100 tdf#164490 Use stronger typed SwClient Change-Id: I2afe819dee8fbc9b2a5cfeb6de80f7fc72d33ae9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182208 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 36d1f46e3914..beffb467db80 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -193,7 +193,7 @@ typedef sw::ClientBase<SwModify> SwClient; // SwModify // class has a doubly linked list for dependencies -class SW_DLLPUBLIC SwModify: public SwClient +class SW_DLLPUBLIC SwModify: public sw::ClientBase<SwModify> { friend class sw::ClientIteratorBase; friend void sw::ClientNotifyAttrChg(SwModify&, const SwAttrSet&, SwAttrSet&, SwAttrSet&); @@ -211,7 +211,7 @@ protected: void PrepareFormatDeath(const SwFormatChangeHint&); public: SwModify() - : SwClient(), m_pWriterListeners(nullptr), m_bModifyLocked(false) + : sw::ClientBase<SwModify>(), m_pWriterListeners(nullptr), m_bModifyLocked(false) {} // broadcasting mechanism