[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - svx/source

Daniel danielfaleirosilva at gmail.com
Thu Nov 30 21:08:30 UTC 2017


 svx/source/table/tablecontroller.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit cf715c7c60bd37d69f6fd6cbcb55e320503d9e36
Author: Daniel <danielfaleirosilva at gmail.com>
Date:   Wed Nov 29 00:26:43 2017 -0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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


More information about the Libreoffice-commits mailing list