[Libreoffice-commits] core.git: svx/source

Daniel danielfaleirosilva at gmail.com
Thu Nov 30 13:02:55 UTC 2017


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

New commits:
commit 9b5062a3eeed6b94a2020b97f6dab9316af5d357
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/45451
    Tested-by: Jenkins <ci at libreoffice.org>
    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