sw/source/core/docnode/section.cxx | 8 -------- 1 file changed, 8 deletions(-)
New commits: commit a0aa09b34f68bef2b8fdd99776930430cb643958 Author: Bogdan Buzea <buzea.bog...@libreoffice.org> AuthorDate: Mon Oct 21 11:42:55 2024 +0200 Commit: David Gilbert <freedesk...@treblig.org> CommitDate: Sun Oct 27 18:57:49 2024 +0100 tdf#163486: PVS: Identical branches V1037 Two or more case-branches perform the same actions. Check lines: 473, 480 V1037 Two or more case-branches perform the same actions. Check lines: 763, 768 Change-Id: I6f770cff57cac225729e7e1fb82c9b36fec929e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175311 Reviewed-by: David Gilbert <freedesk...@treblig.org> Tested-by: Jenkins diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index 677fa0f75784..f9cb6efbee63 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -470,12 +470,6 @@ void SwSection::Notify(SfxHint const& rHint) break; case RES_FTN_AT_TXTEND: - if( pNew && pOld ) - { - bUpdateFootnote = true; - } - break; - case RES_END_AT_TXTEND: if( pNew && pOld ) { @@ -760,8 +754,6 @@ void SwSectionFormat::SwClientNotify(const SwModify& rMod, const SfxHint& rHint) case RES_FTN_AT_TXTEND: case RES_END_AT_TXTEND: - GetNotifier().Broadcast(sw::LegacyModifyHint(pOld, pNew)); - return; case RES_PROTECT: case RES_EDIT_IN_READONLY: // edit in readonly sections // Pass through these Messages until the End of the tree!