summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-08 16:43:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-08 16:47:31 +0200
commit1257344e89e80715c35e621b7693f401f147bdf1 (patch)
treed4b2010e3211226b69d04ee59fc12bd10d5471de /xmloff
parent0ce1ecab48fc9fd9713359728dd1a10746600541 (diff)
loplugin:redundantcast: redundant static_casts in xmloff
Change-Id: I0893b51a3c7e48451dd93bcda77e9005d6eb799c
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtstyli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx
index 75be7fc4e66d..5564408560ce 100644
--- a/xmloff/source/text/txtstyli.cxx
+++ b/xmloff/source/text/txtstyli.cxx
@@ -387,7 +387,7 @@ void XMLTextStyleContext::FillPropertySet(
// catch the combined characters attribute
// imitate XMLPropStyleContext::FillPropertySet(...)
- SvXMLStylesContext* pSvXMLStylesContext = static_cast< SvXMLStylesContext* >(GetStyles());
+ SvXMLStylesContext* pSvXMLStylesContext = GetStyles();
rtl::Reference < SvXMLImportPropertyMapper > xImpPrMap = pSvXMLStylesContext->GetImportPropertyMapper(GetFamily());
DBG_ASSERT(xImpPrMap.is(),"Where is the import prop mapper?");