diff options
Diffstat (limited to 'xmloff/source/style/styleexp.cxx')
-rw-r--r-- | xmloff/source/style/styleexp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 2089fb08748c..43fbab803388 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -96,7 +96,7 @@ bool XMLStyleExport::exportStyle( if( xPropSetInfo->hasPropertyByName( sIsPhysical ) ) { aAny = xPropSet->getPropertyValue( sIsPhysical ); - if( !*(sal_Bool *)aAny.getValue() ) + if( !*static_cast<sal_Bool const *>(aAny.getValue()) ) return false; } @@ -164,7 +164,7 @@ bool XMLStyleExport::exportStyle( if( xPropSetInfo->hasPropertyByName( sIsAutoUpdate ) ) { aAny = xPropSet->getPropertyValue( sIsAutoUpdate ); - if( *(sal_Bool *)aAny.getValue() ) + if( *static_cast<sal_Bool const *>(aAny.getValue()) ) GetExport().AddAttribute( XML_NAMESPACE_STYLE, XML_AUTO_UPDATE, XML_TRUE ); } @@ -472,7 +472,7 @@ void XMLStyleExport::exportStyleFamily( if( xPropSetInfo->hasPropertyByName( sIsPhysical ) ) { Any aAny( xPropSet->getPropertyValue( sIsPhysical ) ); - if( !*(sal_Bool *)aAny.getValue() ) + if( !*static_cast<sal_Bool const *>(aAny.getValue()) ) continue; } |