diff options
author | Oliver Specht <oliver.specht@cib.de> | 2016-01-13 13:51:43 +0100 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2016-01-14 06:13:28 +0000 |
commit | 1fbd073828ef52f5206aed4643226bae9fb85f4f (patch) | |
tree | 8044e5f231f7f3b8f64188525f3c1bde8100b457 /sw | |
parent | 511bccbf890d3cc9c993375b372ae96460ee6f32 (diff) |
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@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 08170a20003a..72b03f361c53 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: |