summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/viewfun2.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 19e441eade83..b7ee8dd55eb6 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1943,6 +1943,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
( nTab == nOldTab ) &&
( nCol != nOldCol || nRow != nOldRow ) )
{
+ AlignToCursor(nCol, nRow, SC_FOLLOW_JUMP);
SetCursor( nCol, nRow, true );
}
}