summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:16 +0200
commitcd14c536643219712c0afe437029043238e33967 (patch)
tree7c63d111c3df364496d8716090b4d4b363db50ca /include/cppu
parent98215b5bdb07cb0ff2cfea8b5c85eab07a11eda1 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I2d60f21219adfe9935ad69620f3a7bd856f96376
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 20b5f2607b88..f38aabb60278 100644
--- a/include/cppu/Map.hxx
+++ b/include/cppu/Map.hxx
@@ -71,7 +71,7 @@ namespace cppu
{
css::uno::Mapping curr2outer(css::uno::Environment::getCurrent(), outerEnv);
- uno_any_destruct(res, (uno_ReleaseFunc)css::uno::cpp_release);
+ uno_any_destruct(res, css::uno::cpp_release);
uno_type_any_constructAndConvert(
res,
const_cast<void *>(any.getValue()),
@@ -91,7 +91,7 @@ namespace cppu
{
css::uno::Mapping outer2curr(outerEnv, css::uno::Environment::getCurrent());
- uno_any_destruct(res, (uno_ReleaseFunc)css::uno::cpp_release);
+ uno_any_destruct(res, css::uno::cpp_release);
uno_type_any_constructAndConvert(
res,
const_cast<void *>(any.getValue()),