summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:45 +0200
commita52cf476e7cec9d0c70dd4ee93cbd328b66479ad (patch)
tree9e03f530d36c1c65f0db9d8698677e802137b3bb /include/cppu
parentc266ba458f444e5f4a4bafbf4073710c31897536 (diff)
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
Diffstat (limited to 'include/cppu')
-rw-r--r--include/cppu/Map.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppu/Map.hxx b/include/cppu/Map.hxx
index 2b6397918c3f..20b5f2607b88 100644
--- a/include/cppu/Map.hxx
+++ b/include/cppu/Map.hxx
@@ -40,7 +40,7 @@ namespace cppu
{
css::uno::Mapping curr2outer(css::uno::Environment::getCurrent(), outerEnv);
- return reinterpret_cast<T *>(curr2outer.mapInterface(pT, getCppuType((css::uno::Reference<T> *)NULL)));
+ return reinterpret_cast<T *>(curr2outer.mapInterface(pT, cppu::UnoType<T>::get()));
}
@@ -55,7 +55,7 @@ namespace cppu
{
css::uno::Mapping outer2curr(outerEnv, css::uno::Environment::getCurrent());
- return reinterpret_cast<T *>(outer2curr.mapInterface(pT, getCppuType((css::uno::Reference<T> *)NULL)));
+ return reinterpret_cast<T *>(outer2curr.mapInterface(pT, cppu::UnoType<T>::get()));
}