[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Apr 18 19:59:02 UTC 2017


 sc/source/ui/view/viewfun2.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7c1314bb1e63f9c3460175a8ee30422ebf3c4d37
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Apr 8 21:13:56 2017 +0200

    actually show the newly selected cell, tdf#106194
    
    Change-Id: I0c9f839cbe55f2670602567e61dc4aba77fbef61
    Reviewed-on: https://gerrit.libreoffice.org/36303
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    (cherry picked from commit dbc616c0021b86e6365930ba581818fea280d1a8)
    Reviewed-on: https://gerrit.libreoffice.org/36386
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index ee8f6f7e854a..a1013b2ba896 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1932,6 +1932,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
                             ( nTab == nOldTab ) &&
                             ( nCol != nOldCol || nRow != nOldRow ) )
                     {
+                        AlignToCursor(nCol, nRow, SC_FOLLOW_JUMP);
                         SetCursor( nCol, nRow, true );
                     }
                 }


More information about the Libreoffice-commits mailing list