diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 13:31:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 13:31:00 +0200 |
commit | 903bd0db0977f35c7d2cdfd82783591bbd374a7e (patch) | |
tree | 66519f1af63d9ea0d3ac1d4cd1ce1f793a8b10b6 /xmloff | |
parent | 5c0cee64b9430da404fa52988871fae6a5dd9f41 (diff) |
Improved loplugin:redundantcast const_cast handling: xmloff
Change-Id: I61873d1a1d26db0b757b242c395f9bf96702b055
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/XMLShapeStyleContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/XMLShapeStyleContext.cxx b/xmloff/source/draw/XMLShapeStyleContext.cxx index 9941adce2b00..78ee86693777 100644 --- a/xmloff/source/draw/XMLShapeStyleContext.cxx +++ b/xmloff/source/draw/XMLShapeStyleContext.cxx @@ -79,7 +79,7 @@ void XMLShapeStyleContext::SetAttribute( sal_uInt16 nPrefixKey, const OUString& { if( !GetName().isEmpty() && !GetDisplayName().isEmpty() && GetName() != GetDisplayName() ) { - const_cast< SvXMLImport&>( GetImport() ). + GetImport(). AddStyleDisplayName( GetFamily(), GetName(), GetDisplayName() ); } } |