summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:39:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:39:47 +0200
commitabf2ad6dae2e98557f3480e3c52d5cb11a40b330 (patch)
tree7ec7c9912e1dab03dfbb0fa95c450997a38ee3a9 /io
parent0ceab5ec7f7d0b0d8c260c2854b903b9927c289e (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I736518e38a9badf9ee24564952a135bd5019d110
Diffstat (limited to 'io')
-rw-r--r--io/test/stm/datatest.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx
index 940d6ee87712..55a13c2433fe 100644
--- a/io/test/stm/datatest.cxx
+++ b/io/test/stm/datatest.cxx
@@ -805,8 +805,8 @@ sal_Bool compareMyPropertySet( Reference< XPropertySet > &r1 , Reference < XProp
{
sal_Bool b = sal_True;
- if( r1->getPropertyValue("long").getValueType() == getCppuVoidType() ||
- r2->getPropertyValue("long").getValueType() == getCppuVoidType() ) {
+ if( r1->getPropertyValue("long").getValueType() == cppu::UnoType<cppu::UnoVoidType>::get() ||
+ r2->getPropertyValue("long").getValueType() == cppu::UnoType<cppu::UnoVoidType>::get() ) {
// one of the objects is not the correct propertyset !
fprintf( stderr, "compareMyPropertySet: 1\n" );
@@ -947,7 +947,7 @@ void OObjectStreamTest::testObject( const Reference< XObjectOutputStream >
rProp->setPropertyValue("double", any );
sal_Bool b = sal_True;
- any.setValue( &b , getCppuBooleanType() );
+ any.setValue( &b , cppu::UnoType<bool>::get() );
rProp->setPropertyValue("bool", any );
sal_Int8 by = 120;
@@ -955,7 +955,7 @@ void OObjectStreamTest::testObject( const Reference< XObjectOutputStream >
rProp->setPropertyValue("byte", any );
sal_Unicode c = 'h';
- any.setValue( &c , getCppuCharType() );
+ any.setValue( &c , cppu::UnoType<cppu::UnoCharType>::get() );
rProp->setPropertyValue("char", any );
OUString str( "hi du !" );
@@ -1006,7 +1006,7 @@ void OObjectStreamTest::testObject( const Reference< XObjectOutputStream >
rProp->setPropertyValue("double", any );
sal_Bool b = sal_True;
- any.setValue( &b , getCppuBooleanType() );
+ any.setValue( &b , cppu::UnoType<bool>::get() );
rProp->setPropertyValue("bool", any );
sal_Int8 by = 120;
@@ -1014,7 +1014,7 @@ void OObjectStreamTest::testObject( const Reference< XObjectOutputStream >
rProp->setPropertyValue("byte", any );
sal_Unicode c = 'h';
- any.setValue( &c , getCppuCharType() );
+ any.setValue( &c , cppu::UnoType<cppu::UnoCharType>::get() );
rProp->setPropertyValue("char", any );
OUString str( "hi du !" );