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/text/XMLTextColumnsExport.cxx | |
parent | 1bfdea75d23d79e8b0d2d7c1548d716d0ca27488 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I962bd44f2ef6204ed2ea51f79b752bd948f67209
Diffstat (limited to 'xmloff/source/text/XMLTextColumnsExport.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextColumnsExport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLTextColumnsExport.cxx b/xmloff/source/text/XMLTextColumnsExport.cxx index 1ced191e3ad2..ee797e2c6b70 100644 --- a/xmloff/source/text/XMLTextColumnsExport.cxx +++ b/xmloff/source/text/XMLTextColumnsExport.cxx @@ -72,7 +72,7 @@ void XMLTextColumnsExport::exportXML( const Any& rAny ) if( xPropSet.is() ) { Any aAny = xPropSet->getPropertyValue( sIsAutomatic ); - if ( *(sal_Bool*)aAny.getValue() ) + if ( *static_cast<sal_Bool const *>(aAny.getValue()) ) { aAny = xPropSet->getPropertyValue( sAutomaticDistance ); sal_Int32 nDistance = 0; @@ -92,7 +92,7 @@ void XMLTextColumnsExport::exportXML( const Any& rAny ) if( xPropSet.is() ) { Any aAny = xPropSet->getPropertyValue( sSeparatorLineIsOn ); - if( *(sal_Bool *)aAny.getValue() ) + if( *static_cast<sal_Bool const *>(aAny.getValue()) ) { // style:width aAny = xPropSet->getPropertyValue( sSeparatorLineWidth ); |