sw/inc/hints.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 5de167bc4117f93c6148fb5140204c6f5af214f8 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Jul 5 13:26:08 2023 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Thu Jul 6 17:41:56 2023 +0200
fix bug in "Replace RES_NAME_CHANGED with an SfxHint for stronger typing" where commit f48cb25a914902d92bd109eff86ec3b6d26ba9c3 Author: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> Date: Thu Sep 15 00:34:50 2022 +0200 added a new constant SfxHintId::SwNameChanged and then used it in some places, but not others Change-Id: Id9fa07a1d5fe07a3ac8a74d9d32b9bfe8e6c38e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> (cherry picked from commit 080bc640358aad36d93a02fe51b922eec994cfe7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154115 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 63d8210ef1b4..46a3c586771f 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -236,7 +236,7 @@ class NameChanged final : public SfxHint public: const OUString m_sOld; const OUString m_sNew; - NameChanged(const OUString& rOld, const OUString& rNew) : SfxHint(SfxHintId::NameChanged), m_sOld(rOld), m_sNew(rNew) {}; + NameChanged(const OUString& rOld, const OUString& rNew) : SfxHint(SfxHintId::SwNameChanged), m_sOld(rOld), m_sNew(rNew) {}; }; class TitleChanged final : public SfxHint {