diff options
Diffstat (limited to 'sw/source/core/unocore/unotext.cxx')
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 0382c4c2b8f1..6d6c74233013 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -2416,7 +2416,7 @@ throw (uno::RuntimeException, std::exception) { aRet = SwXText::queryInterface( rType ); } - if(aRet.getValueType() == cppu::UnoType<cppu::UnoVoidType>::get()) + if(aRet.getValueType() == cppu::UnoType<void>::get()) { aRet = OWeakAggObject::queryAggregation( rType ); } @@ -2442,7 +2442,7 @@ SwXBodyText::queryInterface(const uno::Type& rType) throw (uno::RuntimeException, std::exception) { const uno::Any ret = SwXText::queryInterface(rType); - return (ret.getValueType() == cppu::UnoType<cppu::UnoVoidType>::get()) + return (ret.getValueType() == cppu::UnoType<void>::get()) ? SwXBodyText_Base::queryInterface(rType) : ret; } @@ -2718,7 +2718,7 @@ SwXHeadFootText::queryInterface(const uno::Type& rType) throw (uno::RuntimeException, std::exception) { const uno::Any ret = SwXHeadFootText_Base::queryInterface(rType); - return (ret.getValueType() == cppu::UnoType<cppu::UnoVoidType>::get()) + return (ret.getValueType() == cppu::UnoType<void>::get()) ? SwXText::queryInterface(rType) : ret; } |