diff options
Diffstat (limited to 'sw/inc/unotextrange.hxx')
-rw-r--r-- | sw/inc/unotextrange.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/unotextrange.hxx b/sw/inc/unotextrange.hxx index 7e43d72c2f30..57156523c396 100644 --- a/sw/inc/unotextrange.hxx +++ b/sw/inc/unotextrange.hxx @@ -40,6 +40,7 @@ class SwDoc; class SwUnoCursor; class SwFrameFormat; class SwXText; +class SwXTextCursor; class SfxItemPropertySet; class SW_DLLPUBLIC SwUnoInternalPaM final @@ -69,6 +70,8 @@ namespace sw { SW_DLLPUBLIC bool XTextRangeToSwPaM(SwUnoInternalPaM& rToFill, const css::uno::Reference<css::text::XTextRange> & xTextRange, TextRangeMode eMode = TextRangeMode::RequireTextNode); + bool XTextRangeToSwPaM(SwUnoInternalPaM& rToFill, + const rtl::Reference< SwXTextCursor > & xTextRange); css::uno::Reference< SwXText > CreateParentXText(SwDoc & rDoc, const SwPosition& rPos); |