sw/source/uibase/docvw/edtwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1fbd073828ef52f5206aed4643226bae9fb85f4f Author: Oliver Specht <oliver.spe...@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 <c...@libreoffice.org> Reviewed-by: Oliver Specht <oliver.spe...@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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits