summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-14 23:17:17 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-14 23:18:57 +0200
commitc288b17cc5a1d5051325e02a29aa40df5be6f016 (patch)
treea18b17b49cd5917c456fc2e0c1697fdbbb273195 /stoc
parent67f85d7419a475c1e10b6b1d829bb0c575a39fbf (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/corereflection/criface.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx
index 8cffc0a40e73..ec79ebe4de46 100644
--- a/stoc/source/corereflection/criface.cxx
+++ b/stoc/source/corereflection/criface.cxx
@@ -307,7 +307,7 @@ void IdlAttributeFieldImpl::checkException(
getReflection()->getUno2Cpp().get());
uno_any_destruct(exception, 0);
if (e.isExtractableTo(
- getCppuType(static_cast< RuntimeException const * >(0))))
+ cppu::UnoType<RuntimeException>::get()))
{
cppu::throwException(e);
} else {