sw/source/core/docnode/section.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit f5a23e690d32141544035c0124c22b48bd1e401d
Author:     Noel Grandin <[email protected]>
AuthorDate: Thu Jan 16 10:04:08 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Jan 16 10:40:46 2025 +0100

    missing return statement in SwSectionFormat::SwClientNotify
    
    regression from
        commit da758c4d15569667cc3d444ba53826b0ee5d2a90
        Author: Noel Grandin <[email protected]>
        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 <[email protected]>
    Tested-by: Jenkins

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;

Reply via email to