diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-22 16:06:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-23 12:36:16 +0200 |
commit | 6a097a7d964a22fbff8bfa9552c77b11447691bb (patch) | |
tree | 5c86335f81902bae4f6f765893bc847d89ee24d0 /sc/source/filter/xml/xmlrowi.cxx | |
parent | 229eed079c675e70118370044ae91a69c60d044e (diff) |
loplugin: cstylecast
Change-Id: I8c7cd4c2cdc134556c2c664a22e2048b51a3b98e
Diffstat (limited to 'sc/source/filter/xml/xmlrowi.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlrowi.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx index 65af6b0905c0..7af34aa1dd16 100644 --- a/sc/source/filter/xml/xmlrowi.cxx +++ b/sc/source/filter/xml/xmlrowi.cxx @@ -172,11 +172,11 @@ void ScXMLTableRowContext::EndElement() { if (!sStyleName.isEmpty()) { - XMLTableStylesContext *pStyles((XMLTableStylesContext *)rXMLImport.GetAutoStyles()); + XMLTableStylesContext *pStyles(static_cast<XMLTableStylesContext *>(rXMLImport.GetAutoStyles())); if ( pStyles ) { - XMLTableStyleContext* pStyle((XMLTableStyleContext *)pStyles->FindStyleChildContext( - XML_STYLE_FAMILY_TABLE_ROW, sStyleName, true)); + XMLTableStyleContext* pStyle(const_cast<XMLTableStyleContext*>(static_cast<const XMLTableStyleContext *>(pStyles->FindStyleChildContext( + XML_STYLE_FAMILY_TABLE_ROW, sStyleName, true)))); if (pStyle) { pStyle->FillPropertySet(xRowProperties); |