| commit | b043a5b953f9da553a725606a1795d5fd0860ca3 | [log] |
|---|---|---|
| author | Justin Luth <justin_luth@sil.org> | Fri Oct 15 11:36:48 2021 +0200 |
| committer | Justin Luth <justin_luth@sil.org> | Fri Oct 15 17:55:09 2021 +0200 |
| tree | f4550f33f1efcbac75ecdf34ec2bd291d51bf3a5 | |
| parent | 59fbb0d49dc9dcdc9bb76214949ac0ab4332b9c2 [diff] |
tdf#93747 sw IsTableMode setStyle: don't affect unselected cells Change-Id: I88fcb97adbe790f1c2de469195818d7e27bcc41f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123651 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx index f62e3ab..f42df25 100644 --- a/sw/source/core/edit/edfcol.cxx +++ b/sw/source/core/edit/edfcol.cxx
@@ -2204,6 +2204,9 @@ void SwEditShell::SetTextFormatColl(SwTextFormatColl *pFormat, GetDoc()->GetIDocumentUndoRedo().StartUndo(SwUndoId::SETFMTCOLL, &aRewriter); for(SwPaM& rPaM : GetCursor()->GetRingContainer()) { // If in table cells select mode, ignore the cells that aren't actually selected if (IsTableMode() && !rPaM.HasMark()) continue; if ( !rPaM.HasReadonlySel( GetViewOptions()->IsFormView() ) ) {