summaryrefslogtreecommitdiff
path: root/sw/source/core/access/acccell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/access/acccell.cxx')
-rw-r--r--sw/source/core/access/acccell.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx
index b92d33421099..3c8188d80bdc 100644
--- a/sw/source/core/access/acccell.cxx
+++ b/sw/source/core/access/acccell.cxx
@@ -302,7 +302,7 @@ uno::Any SwAccessibleCell::queryInterface( const uno::Type& rType )
aR <<= uno::Reference<XAccessibleSelection>(this);
return aR;
}
- if ( rType == ::getCppuType( static_cast< uno::Reference< XAccessibleValue > * >( 0 ) ) )
+ if ( rType == ::cppu::UnoType<XAccessibleValue>::get() )
{
uno::Reference<XAccessibleValue> xValue = this;
uno::Any aRet;
@@ -325,7 +325,7 @@ uno::Sequence< uno::Type > SAL_CALL SwAccessibleCell::getTypes()
aTypes.realloc( nIndex + 1 );
uno::Type* pTypes = aTypes.getArray();
- pTypes[nIndex] = ::getCppuType( static_cast< uno::Reference< XAccessibleValue > * >( 0 ) );
+ pTypes[nIndex] = ::cppu::UnoType<XAccessibleValue>::get();
return aTypes;
}