diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:06:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:25 +0100 |
commit | 51ec44fe04de4cad43a6bbd8dae4411a763c1e7e (patch) | |
tree | a1cd4bde7d2e1888ecb2287a9060aa7d045f44ef /sd/source/filter/xml | |
parent | 8dee9e90f76b5b0906520f4eccde7ae4897c1c41 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I57277cd1356a99ee7c806d84a9446936d13a87c0
Diffstat (limited to 'sd/source/filter/xml')
-rw-r--r-- | sd/source/filter/xml/sdxmlwrp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index 3770c20ff052..68b7bc9c02ca 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -391,7 +391,7 @@ sal_Int32 ReadThroughComponent( Any aAny = xProps->getPropertyValue( "Encrypted" ); bool bEncrypted = aAny.getValueType() == ::getBooleanCppuType() && - *(sal_Bool *)aAny.getValue(); + *static_cast<sal_Bool const *>(aAny.getValue()); Reference <io::XInputStream> xInputStream = xStream->getInputStream(); |