[Libreoffice-commits] core.git: sw/source
Oliver Specht
oliver.specht at cib.de
Wed Jan 13 22:13:54 PST 2016
sw/source/uibase/docvw/edtwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1fbd073828ef52f5206aed4643226bae9fb85f4f
Author: Oliver Specht <oliver.specht at cib.de>
Date: Wed Jan 13 13:51:43 2016 +0100
tdf#40494: adding rows to table in protected sections not allowed
Travelling with tab key in tables usually adds a new row when the
last cell is reached. This should not be done in protected sections.
Change-Id: I554c85c517157e394c691b43c462f5abf45e8197
Reviewed-on: https://gerrit.libreoffice.org/21427
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht at cib.de>
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 08170a2..72b03f3 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -2523,7 +2523,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
case KS_NextCell:
// always 'flush' in tables
- rSh.GoNextCell();
+ rSh.GoNextCell(!rSh.HasReadonlySel());
nSlotId = FN_GOTO_NEXT_CELL;
break;
case KS_PrevCell:
More information about the Libreoffice-commits
mailing list