summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <danielfaleirosilva@gmail.com>2017-11-29 00:26:43 -0200
committerCaolán McNamara <caolanm@redhat.com>2017-11-30 22:07:58 +0100
commitcf715c7c60bd37d69f6fd6cbcb55e320503d9e36 (patch)
treefe0fb54c38635c768a283a62e0644da005881476
parent9cf42b259dadd55380c39c4ba8c2aa6eeba3de31 (diff)
tdf#111773 tdf#111780 Fix selection after merge cells in an Impress table
Change-Id: I800c4fb8c37c07fb771f4310b207e459119a8e60 Reviewed-on: https://gerrit.libreoffice.org/45579 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--svx/source/table/tablecontroller.cxx4
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