summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 10:42:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 10:42:57 +0200
commit31e24f487e5a4e917bb35fd396cf9f3ad84982a8 (patch)
tree6e4cbfcd49a8fed02847b8c7719759e09260cf7c /sw
parent3e672693e35e720177eac98094c42570fca9cfbb (diff)
Remove redundant Reference<> from within UnoType<> uses
Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/access/acctable.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index 358296262c8e..763479bf5332 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -851,17 +851,17 @@ uno::Any SwAccessibleTable::queryInterface( const uno::Type& rType )
throw (uno::RuntimeException, std::exception)
{
uno::Any aRet;
- if ( rType == cppu::UnoType< uno::Reference< XAccessibleTable > >::get() )
+ if ( rType == cppu::UnoType<XAccessibleTable>::get() )
{
uno::Reference<XAccessibleTable> xThis( this );
aRet <<= xThis;
}
- else if ( rType == cppu::UnoType< uno::Reference< XAccessibleSelection > >::get() )
+ else if ( rType == cppu::UnoType<XAccessibleSelection>::get() )
{
uno::Reference<XAccessibleSelection> xSelection( this );
aRet <<= xSelection;
}
- else if ( rType == cppu::UnoType< uno::Reference<XAccessibleTableSelection> >::get() )
+ else if ( rType == cppu::UnoType<XAccessibleTableSelection>::get() )
{
uno::Reference<XAccessibleTableSelection> xTableExtent( this );
aRet <<= xTableExtent;
@@ -884,8 +884,8 @@ uno::Sequence< uno::Type > SAL_CALL SwAccessibleTable::getTypes()
aTypes.realloc( nIndex + 2 );
uno::Type* pTypes = aTypes.getArray();
- pTypes[nIndex++] = cppu::UnoType< uno::Reference< XAccessibleSelection > >::get();
- pTypes[nIndex++] = cppu::UnoType< uno::Reference< XAccessibleTable > >::get();
+ pTypes[nIndex++] = cppu::UnoType<XAccessibleSelection>::get();
+ pTypes[nIndex++] = cppu::UnoType<XAccessibleTable>::get();
return aTypes;
}