diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-01-16 10:04:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-01-16 10:40:46 +0100 |
commit | f5a23e690d32141544035c0124c22b48bd1e401d (patch) | |
tree | 8867c5cab57529d4f1de264d840ed2d2f6788b94 | |
parent | 8b5d4c360c359adf787d466164377c05ac8f7d14 (diff) |
missing return statement in SwSectionFormat::SwClientNotify
regression from
commit da758c4d15569667cc3d444ba53826b0ee5d2a90
Author: Noel Grandin <noelgrandin@gmail.com>
Date: Sun Jan 5 13:23:59 2025 +0200
convert RES_OBJECTDYING to SfxHint
Change-Id: I4fdfd2ffe1d395d28b0eadd61613dbee2dc3de51
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180333
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
-rw-r--r-- | sw/source/core/docnode/section.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index e7ef4e8d4808..53ac6e8f0df3 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -794,9 +794,10 @@ void SwSectionFormat::SwClientNotify(const SwModify& rMod, const SfxHint& rHint) // and update SwFrameFormat::SwClientNotify(rMod, rHint); UpdateParent(); - return; } - SwFrameFormat::SwClientNotify(rMod, rHint); + else + SwFrameFormat::SwClientNotify(rMod, rHint); + return; } else if (rHint.GetId() != SfxHintId::SwLegacyModify) return; |