summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/uno/unotext2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx
index 8aa040c97637..1e61337f5471 100644
--- a/editeng/source/uno/unotext2.cxx
+++ b/editeng/source/uno/unotext2.cxx
@@ -234,7 +234,7 @@ void SAL_CALL SvxUnoTextContent::attach( const uno::Reference< text::XTextRange
uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextContent::getAnchor()
{
- return uno::Reference< text::XTextRange >::query( mxParentText );
+ return mxParentText;
}
// XComponent