diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:08:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:29 +0100 |
commit | 44b9b27b1ad161191d254f5497e7eb0766854966 (patch) | |
tree | c3ddcfcdb6e4c64fa0d019d4d1d03759118b5f10 /xmloff/source/style/xmlbahdl.cxx | |
parent | 1bfdea75d23d79e8b0d2d7c1548d716d0ca27488 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I962bd44f2ef6204ed2ea51f79b752bd948f67209
Diffstat (limited to 'xmloff/source/style/xmlbahdl.cxx')
-rw-r--r-- | xmloff/source/style/xmlbahdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx index bee67a4a70bf..6c93da92755f 100644 --- a/xmloff/source/style/xmlbahdl.cxx +++ b/xmloff/source/style/xmlbahdl.cxx @@ -695,7 +695,7 @@ bool XMLIsTransparentPropHdl::exportXML( OUString& rStrExpValue, const Any& rVal // MIB: This looks a bit strange, because bTransPropValue == bValue should // do the same, but this only applies if 'true' is represented by the same // 8 bit value in bValue and bTransPropValue. Who will ensure this? - bool bValue = *(sal_Bool *)rValue.getValue(); + bool bValue = *static_cast<sal_Bool const *>(rValue.getValue()); bool bIsTrans = bTransPropValue ? bValue : !bValue; if( bIsTrans ) |