summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-09-24 13:21:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-24 21:02:02 +0200
commit7cd5b35caa8d4fa9d0ba2b2c6ce4b88726ed2be6 (patch)
tree014d9f0fde1b5383eb0bd82327d3bb4aa8268027 /sw/source/uibase/utlui
parenta93c3f2eb07fc15d1ebb0fd70ab58ecea27bd4f1 (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/uibase/utlui')
-rw-r--r--sw/source/uibase/utlui/content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 9fb2367e0d39..2acbcc679ef8 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -3651,7 +3651,7 @@ void SwContentTree::UpdateTracking()
void SwContentTree::SelectOutlinesWithSelection()
{
- SwCursor* pFirstCursor = m_pActiveShell->GetSwCursor();
+ SwCursor* pFirstCursor = m_pActiveShell->GetCursor();
SwCursor* pCursor = pFirstCursor;
std::vector<SwOutlineNodes::size_type> aOutlinePositions;
do