Kaydet (Commit) 0cff0af7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace remaining getCppuType et al with cppu::UnoType

Change-Id: I66548ca8a8eaadea64f58653e97389c6208caa41
üst b8f0e364
......@@ -739,7 +739,7 @@ void SaxExpatParser_Impl::parse( )
SAXParseException aExcept(
getErrorMessage(xmlE , sSystemId, nLine) ,
css::uno::Reference< css::uno::XInterface >(),
css::uno::Any( &exception , getCppuType( &exception) ),
css::uno::Any( &exception , cppu::UnoType<decltype(exception)>::get() ),
rDocumentLocator->getPublicId(),
rDocumentLocator->getSystemId(),
rDocumentLocator->getLineNumber(),
......
......@@ -567,7 +567,7 @@ void Entity::throwException( const ::rtl::Reference< FastLocatorImpl > &xDocumen
xDocumentLocator->getSystemId(),
xDocumentLocator->getLineNumber() ),
Reference< XInterface >(),
Any( &maSavedException, getCppuType( &maSavedException ) ),
Any( &maSavedException, cppu::UnoType<decltype(maSavedException)>::get() ),
xDocumentLocator->getPublicId(),
xDocumentLocator->getSystemId(),
xDocumentLocator->getLineNumber(),
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment