summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 18:58:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:18 +0100
commit962b77340f03f89ae22b7a1e84e856e8d589c8b6 (patch)
tree263dd868a6039cf1dce877953fe1141c14804529 /include/comphelper
parentfb09b1f3c6e57cb8e679af982f88b96660c14a4c (diff)
Clean up C-style casts from pointers to void
Change-Id: Icdb619101a992a740c71545e669e138cb5dc63a6
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/extract.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/extract.hxx b/include/comphelper/extract.hxx
index 3ce61d92b7ce..bbd45db64d9e 100644
--- a/include/comphelper/extract.hxx
+++ b/include/comphelper/extract.hxx
@@ -110,7 +110,7 @@ inline bool SAL_CALL any2bool( const ::com::sun::star::uno::Any & rAny )
{
if (rAny.getValueTypeClass() == ::com::sun::star::uno::TypeClass_BOOLEAN)
{
- return *(sal_Bool *)rAny.getValue();
+ return *static_cast<sal_Bool const *>(rAny.getValue());
}
else
{