summaryrefslogtreecommitdiff
path: root/include/comphelper/extract.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/extract.hxx')
-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
{