summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:07:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:26 +0100
commit09757afd363d9d015c42db43dbe93be393d667ee (patch)
tree633ffd720d9f13f5e5650c48fc87ca8b478a1c1b /include/svl
parent898832faad4be91729deaf88e35f725da62c72ca (diff)
Clean up C-style casts from pointers to void
Change-Id: I4ce94a1cbe0567a829de977aaa9fd1cdbff71788
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/poolitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index a03794a11fcf..7583872a86ea 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -62,7 +62,7 @@ inline bool Any2Bool( const ::com::sun::star::uno::Any&rValue )
{
if( rValue.getValueType() == ::getCppuBooleanType() )
{
- nValue = *(sal_Bool*)rValue.getValue();
+ nValue = *static_cast<sal_Bool const *>(rValue.getValue());
}
else
{