From cf715c7c60bd37d69f6fd6cbcb55e320503d9e36 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 29 Nov 2017 00:26:43 -0200 Subject: tdf#111773 tdf#111780 Fix selection after merge cells in an Impress table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I800c4fb8c37c07fb771f4310b207e459119a8e60 Reviewed-on: https://gerrit.libreoffice.org/45579 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/table/tablecontroller.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source') 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 -- cgit v1.2.3