summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-22 12:03:38 +0200
committerNoel Grandin <noel@peralex.com>2014-10-23 12:36:16 +0200
commit229eed079c675e70118370044ae91a69c60d044e (patch)
treec2d26c6158aa43633f034c9abbebbe18ecc1e565 /reportdesign/source/filter/xml
parent5f6f57c26ee15787ca2f775f853e57cfc11d666f (diff)
loplugin: cstylecast
Change-Id: If991c0efe1ded6ef6d32b3a722ee87bbe36bf0bf
Diffstat (limited to 'reportdesign/source/filter/xml')
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx
index 73b361a3f059..316dd66f8c37 100644
--- a/reportdesign/source/filter/xml/xmlfilter.cxx
+++ b/reportdesign/source/filter/xml/xmlfilter.cxx
@@ -938,9 +938,9 @@ SvXMLImportContext* ORptFilter::CreateStylesContext(const OUString& rLocalName,
{
pContext = new OReportStylesContext(*this, XML_NAMESPACE_OFFICE, rLocalName, xAttrList, bIsAutoStyle);
if (bIsAutoStyle)
- SetAutoStyles((SvXMLStylesContext*)pContext);
+ SetAutoStyles(static_cast<SvXMLStylesContext*>(pContext));
else
- SetStyles((SvXMLStylesContext*)pContext);
+ SetStyles(static_cast<SvXMLStylesContext*>(pContext));
}
return pContext;
}