diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-11 19:19:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-12 15:33:25 +0200 |
commit | fdcce774409e47b452910d44fcb8a00b1131985c (patch) | |
tree | dd7a74be13468a551d05e3da473b1f626d46fb98 /sw/inc/unotbl.hxx | |
parent | 8be73da2284ffe963a464b4c65db4f2ff5d7f09f (diff) |
use more concrete UNO types in sw/
as preparation for getting rid of some dynamic_casts
Change-Id: I78728325b916af3ec6303f7c8eaf3b8b94cfd74c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151691
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unotbl.hxx')
-rw-r--r-- | sw/inc/unotbl.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index d7074b5919bf..323a4f7b8e79 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -77,9 +77,6 @@ class SwXCell final : public SwXCellBaseClass, virtual const SwStartNode *GetStartNode() const override; - virtual css::uno::Reference< css::text::XTextCursor > - CreateCursor() override; - bool IsValid() const; virtual ~SwXCell() override; @@ -110,8 +107,9 @@ public: virtual sal_Int32 SAL_CALL getError( ) override; //XText - virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor() override; - virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange(const css::uno::Reference< css::text::XTextRange > & aTextPosition) override; + virtual rtl::Reference< SwXTextCursor > createXTextCursor() override; + virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange( + const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition ) override; virtual void SAL_CALL setString(const OUString& aString) override; //XPropertySet |