diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-07 17:55:52 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-09 09:24:36 +0100 |
commit | b51c840735029e8c61af4035f8db1d41ee8650ce (patch) | |
tree | 61ed7583eb9dcb637a10e2a163dd6b0f9b70819c /sc | |
parent | 1a8afa24ffc1ba1e606617f263e1f8833ad4d0a9 (diff) |
SearchResults dialog: Use also AlignToCursor when setting cursor.
Change-Id: I4c802b5164bc0f0dc11da80c2225f9fc274e227c
(cherry picked from commit d45bc3429c859392aa9fd7932908e50b0716a39c)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx index f5cc4393c193..3b27a2a91ea5 100644 --- a/sc/source/ui/dialogs/searchresults.cxx +++ b/sc/source/ui/dialogs/searchresults.cxx @@ -69,6 +69,7 @@ IMPL_LINK_NOARG( SearchResults, ListSelectHdl ) ScTabViewShell* pScViewShell = ScTabViewShell::GetActiveViewShell(); pScViewShell->SetTabNo(aAddress.Tab()); pScViewShell->SetCursor(aAddress.Col(), aAddress.Row()); + pScViewShell->AlignToCursor(aAddress.Col(), aAddress.Row(), SC_FOLLOW_JUMP); return 0; } |