diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-01 12:11:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-01 13:08:43 +0200 |
commit | c190577f754158c9e3b003a838bc97762e4773e8 (patch) | |
tree | 6b6188cedaa1c055b3293e20b821aab1e3a17849 /xmloff/source/chart/SchXMLLegendContext.cxx | |
parent | loplugin: cstylecast (diff) | |
download | core-c190577f754158c9e3b003a838bc97762e4773e8.tar.gz core-c190577f754158c9e3b003a838bc97762e4773e8.zip |
loplugin: cstylecast
Change-Id: I25b82a96aace448a8debe90c181b22976ea95414
Diffstat (limited to 'xmloff/source/chart/SchXMLLegendContext.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLLegendContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/chart/SchXMLLegendContext.cxx b/xmloff/source/chart/SchXMLLegendContext.cxx index c072ab9f6b42..7bb30bfc2c36 100644 --- a/xmloff/source/chart/SchXMLLegendContext.cxx +++ b/xmloff/source/chart/SchXMLLegendContext.cxx @@ -207,7 +207,7 @@ void SchXMLLegendContext::StartElement( const uno::Reference< xml::sax::XAttribu SchXMLImportHelper::GetChartFamilyID(), sAutoStyleName ); if( pStyle && pStyle->ISA( XMLPropStyleContext )) - (( XMLPropStyleContext* )pStyle )->FillPropertySet( xLegendProps ); + const_cast<XMLPropStyleContext*>( static_cast<const XMLPropStyleContext*>( pStyle ) )->FillPropertySet( xLegendProps ); } } |