diff options
Diffstat (limited to 'sw/source/uibase/dochdl')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 496d0c8903ef..8c6d6bda92eb 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -1343,9 +1343,9 @@ SwPasteContext::~SwPasteContext() m_oPaM->GetPoint()->SetContent(m_nStartContent); aPropertyValue.Name = "TextRange"; - const uno::Reference<text::XTextRange> xTextRange = SwXTextRange::CreateXTextRange( + const rtl::Reference<SwXTextRange> xTextRange = SwXTextRange::CreateXTextRange( m_oPaM->GetDoc(), *m_oPaM->GetPoint(), m_oPaM->GetMark()); - aPropertyValue.Value <<= xTextRange; + aPropertyValue.Value <<= uno::Reference<text::XTextRange>(xTextRange); break; } } |