diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-09-24 13:21:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-24 21:02:02 +0200 |
commit | 7cd5b35caa8d4fa9d0ba2b2c6ce4b88726ed2be6 (patch) | |
tree | 014d9f0fde1b5383eb0bd82327d3bb4aa8268027 /sw/source/core/edit/edlingu.cxx | |
parent | a93c3f2eb07fc15d1ebb0fd70ab58ecea27bd4f1 (diff) |
return SwCursor from IShellCursorSupplier
rather than casting it
Change-Id: Ia950f521c8f73d8a0da59344db9b5aacb727aca8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122576
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/edit/edlingu.cxx')
-rw-r--r-- | sw/source/core/edit/edlingu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx index 71a5ae401010..76d9e8899934 100644 --- a/sw/source/core/edit/edlingu.cxx +++ b/sw/source/core/edit/edlingu.cxx @@ -652,7 +652,7 @@ void SwEditShell::SpellStart( if (pLinguIter) { - SwCursor* pSwCursor = GetSwCursor(); + SwCursor* pSwCursor = GetCursor(); SwPosition *pTmp = new SwPosition( *pSwCursor->GetPoint() ); pSwCursor->FillFindPos( eCurr, *pTmp ); |