summaryrefslogtreecommitdiff
path: root/cppu/qa/test_reference.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:37:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:37:54 +0200
commitbfcdcdb63a9f7800629e3143b52f4eed1b7b0b4f (patch)
tree4168e9c1a49c26b0c32cb9f37586d81314278258 /cppu/qa/test_reference.cxx
parent17e74bf1a0ca19bd7f555716408d318f5193e1bd (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Ied1a4e7226de4ae1d1c24af90ae9397ba80f404a
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 );