diff options
Diffstat (limited to 'sw/inc/unoframe.hxx')
-rw-r--r-- | sw/inc/unoframe.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index 7c62cc7ba2a5..9bd1c03b8b7f 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -174,9 +174,6 @@ class SAL_DLLPUBLIC_RTTI SwXTextFrame final : public SwXTextFrameBaseClass, virtual const SwStartNode *GetStartNode() const override; - virtual css::uno::Reference< css::text::XTextCursor > - CreateCursor() override; - virtual ~SwXTextFrame() override; SwXTextFrame(SwDoc *pDoc); @@ -201,8 +198,9 @@ public: virtual SW_DLLPUBLIC css::uno::Reference< css::text::XText > SAL_CALL getText() 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; //XEnumerationAccess - frueher XParagraphEnumerationAccess virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override; |