summaryrefslogtreecommitdiff
path: root/sax/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:40:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:40:33 +0200
commit0cff0af7328ac916215e534dc284e773eb0b9dc5 (patch)
treeaf9a17ca4351238e50b9102f8e30d0f5b282d89d /sax/test
parentb8f0e36405fed875f09ed84db1ece61c957bf4e9 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I66548ca8a8eaadea64f58653e97389c6208caa41
Diffstat (limited to 'sax/test')
-rw-r--r--sax/test/sax/testsax.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/test/sax/testsax.cxx b/sax/test/sax/testsax.cxx
index 2d114c66aeef..caeac6d771d8 100644
--- a/sax/test/sax/testsax.cxx
+++ b/sax/test/sax/testsax.cxx
@@ -630,7 +630,7 @@ void OSaxParserTest::testFile( const Reference < XParser > & rParser )
while(true) {
SAXParseException *pEx;
- if( any.getValueType() == getCppuType( &e ) ) {
+ if( any.getValueType() == cppu::UnoType<decltype(e)>::get() ) {
pEx = ( SAXParseException * ) any.getValue();
OString o1 = OUStringToOString(pEx->Message, RTL_TEXTENCODING_UTF8 );
printf( "%s\n" , o1.getStr() );
@@ -695,7 +695,7 @@ void OSaxParserTest::testPerformance( const Reference < XParser > & rParser )
Any any;
any <<= e;
while(true) {
- if( any.getValueType() == getCppuType( &e ) ) {
+ if( any.getValueType() == cppu::UnoType<decltype(e)>::get() ) {
SAXParseException ex;
any >>= ex;
OString o = OUStringToOString( ex.Message , RTL_TEXTENCODING_ASCII_US );