diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:06:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:17:59 +0200 |
commit | f9efb261dd4a0627ab144aa450c45d07f0420f23 (patch) | |
tree | 414593ba46a2528471f88b6cd62156e469f22cfe /xmloff/source/style/xmlstyle.cxx | |
parent | 0f84a32f5b1dbc9f3751b4f8432283867932e155 (diff) |
Improved loplugin:cstylecast to reference types: xmloff
Change-Id: Iff207fb9dfbe5cc354abdeb5833786a52bedbb3c
Diffstat (limited to 'xmloff/source/style/xmlstyle.cxx')
-rw-r--r-- | xmloff/source/style/xmlstyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index 71a2e4e2b5b2..a44a04321b62 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -615,7 +615,7 @@ rtl::Reference < SvXMLImportPropertyMapper > SvXMLStylesContext::GetImportProper case XML_STYLE_FAMILY_SD_POOL_ID: if(!mxShapeImpPropMapper.is()) { - rtl::Reference< XMLShapeImportHelper > aImpHelper = ((SvXMLImport&)GetImport()).GetShapeImport(); + rtl::Reference< XMLShapeImportHelper > aImpHelper = const_cast<SvXMLImport&>(GetImport()).GetShapeImport(); const_cast<SvXMLStylesContext*>(this)->mxShapeImpPropMapper = aImpHelper->GetPropertySetMapper(); } |