diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 2bbae05a56b2..54fd7126dbd4 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -1886,7 +1886,7 @@ void SAL_CALL SvxUnoTextBase::insertTextContent( const uno::Reference< text::XTe GetEditSource()->UpdateData(); uno::Reference<beans::XPropertySet> xPropSetContent(xContent, uno::UNO_QUERY); - if (!xContent.is()) + if (!xPropSetContent.is()) throw lang::IllegalArgumentException(); xPropSetContent->setPropertyValue(UNO_TC_PROP_ANCHOR, uno::Any(xRange)); |