summaryrefslogtreecommitdiff
path: root/sw/inc/IShellCursorSupplier.hxx
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/inc/IShellCursorSupplier.hxx
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/inc/IShellCursorSupplier.hxx')
-rw-r--r--sw/inc/IShellCursorSupplier.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/IShellCursorSupplier.hxx b/sw/inc/IShellCursorSupplier.hxx
index 991e8bbfacb2..ec945f24d3b4 100644
--- a/sw/inc/IShellCursorSupplier.hxx
+++ b/sw/inc/IShellCursorSupplier.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SW_INC_ISHELLCURSORSUPPLIER_HXX
#define INCLUDED_SW_INC_ISHELLCURSORSUPPLIER_HXX
-class SwPaM;
+class SwCursor;
namespace sw
{
@@ -32,8 +32,8 @@ class IShellCursorSupplier
{
public:
virtual ~IShellCursorSupplier() {}
- virtual SwPaM& CreateNewShellCursor() = 0;
- virtual SwPaM& GetCurrentShellCursor() = 0;
+ virtual SwCursor& CreateNewShellCursor() = 0;
+ virtual SwCursor& GetCurrentShellCursor() = 0;
};
} // namespace sw