summaryrefslogtreecommitdiff
path: root/cppu/qa/test_reference.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/qa/test_reference.cxx')
-rw-r--r--cppu/qa/test_reference.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx
index f34a5fc27c69..4de516f7840c 100644
--- a/cppu/qa/test_reference.cxx
+++ b/cppu/qa/test_reference.cxx
@@ -51,12 +51,12 @@ public:
throw (RuntimeException, std::exception) SAL_OVERRIDE
{
Any aInterface;
- if (_type == getCppuType< Reference< XInterface > >())
+ if (_type == cppu::UnoType<XInterface>::get())
{
Reference< XInterface > ref( static_cast< XInterface * >( this ) );
aInterface.setValue( &ref, _type );
}
- else if (_type == getCppuType< Reference< Interface1 > >())
+ else if (_type == cppu::UnoType<Interface1>::get())
{
Reference< Interface1 > ref( this );
aInterface.setValue( &ref, _type );