summaryrefslogtreecommitdiffstats
path: root/sax/source
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/source
parentReplace remaining getCppuType et al with cppu::UnoType (diff)
downloadcore-0cff0af7328ac916215e534dc284e773eb0b9dc5.tar.gz
core-0cff0af7328ac916215e534dc284e773eb0b9dc5.zip
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I66548ca8a8eaadea64f58653e97389c6208caa41
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/expatwrap/sax_expat.cxx2
-rw-r--r--sax/source/fastparser/fastparser.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx
index f42de05ce91c..1996cf714cbb 100644
--- a/sax/source/expatwrap/sax_expat.cxx
+++ b/sax/source/expatwrap/sax_expat.cxx
@@ -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(),
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index a3ee5b586c22..ba0c158eb18e 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -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(),