diff options
author | Daniel <danielfaleirosilva@gmail.com> | 2017-11-29 00:26:43 -0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-30 14:01:46 +0100 |
commit | 9b5062a3eeed6b94a2020b97f6dab9316af5d357 (patch) | |
tree | 22bba21c58134a35b9c4aa6b1e1243e17a468cc4 | |
parent | 5cb5516c0d8928bebbdb3bfaa2cefd43b159ccca (diff) |
tdf#111773 tdf#111780 Fix selection after merge cells in an Impress table
Change-Id: I800c4fb8c37c07fb771f4310b207e459119a8e60
Reviewed-on: https://gerrit.libreoffice.org/45451
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | svx/source/table/tablecontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 521ace14a873..6649ba4df9b4 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -2757,12 +2757,12 @@ IMPL_LINK_NOARG(SvxTableController, UpdateHdl, void*, void) CellPos aEnd( maCursorLastPos ); checkCell(aStart); checkCell(aEnd); - if( aStart != maCursorFirstPos || aEnd != maCursorLastPos ) + if( aStart != maCursorFirstPos || aEnd != maCursorLastPos ) { setSelectedCells( aStart, aEnd ); + updateSelectionOverlay(); } } - updateSelectionOverlay(); } namespace |