sw/source/core/doc/DocumentRedlineManager.cxx | 34 ++++++++++++-------------- 1 file changed, 16 insertions(+), 18 deletions(-)
New commits: commit 83eee3b5694cae0cf16ef41cf2fe8b96250e1541 Author: Caolán McNamara <[email protected]> AuthorDate: Fri Dec 5 09:58:31 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Dec 5 21:05:36 2025 +0100 normalize formatting of this block Change-Id: I0de2480efb03d0180ab07e75efc566d55b0eca43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195073 Tested-by: Caolán McNamara <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx index 8be6b5b76515..c5e1c2b016bc 100644 --- a/sw/source/core/doc/DocumentRedlineManager.cxx +++ b/sw/source/core/doc/DocumentRedlineManager.cxx @@ -2576,28 +2576,26 @@ DocumentRedlineManager::AppendRedline(SwRangeRedline* pNewRedl, bool const bCall bCallDelete, nMoveIDToDelete, deletedMoveIDs }; - switch( pNewRedl->GetType() ) + switch (pNewRedl->GetType()) { - case RedlineType::Insert: - { - PreAppendInsertRedline(aContext); - break; - } + case RedlineType::Insert: + PreAppendInsertRedline(aContext); + break; - case RedlineType::Delete: - PreAppendDeleteRedline(aContext); - break; + case RedlineType::Delete: + PreAppendDeleteRedline(aContext); + break; - case RedlineType::Format: - PreAppendFormatRedline(aContext); - break; + case RedlineType::Format: + PreAppendFormatRedline(aContext); + break; - case RedlineType::FmtColl: - // How should we behave here? - // insert as is - break; - default: - break; + case RedlineType::FmtColl: + // How should we behave here? + // insert as is + break; + default: + break; } }
