diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 11:06:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 18:42:13 +0200 |
commit | 9e0b3423f21c23a8ef2fe749ea7dd7c1194c2f9a (patch) | |
tree | 26f2674f88359c5e6c3e1d0f888c7b31836c36ee /l10ntools/source | |
parent | use SdrCircKind enum more widely (diff) | |
download | core-9e0b3423f21c23a8ef2fe749ea7dd7c1194c2f9a.tar.gz core-9e0b3423f21c23a8ef2fe749ea7dd7c1194c2f9a.zip |
loplugin:referencecasting find more redundant static_cast
Change-Id: I3a51812bbd3fcdc6b11e47cb12962f0d4fa7a2ae
Reviewed-on: https://gerrit.libreoffice.org/78191
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/helper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/l10ntools/source/helper.cxx b/l10ntools/source/helper.cxx index c16d104b34e9..e84b029869a7 100644 --- a/l10ntools/source/helper.cxx +++ b/l10ntools/source/helper.cxx @@ -140,8 +140,7 @@ bool isWellFormedXML( OString const & text ) OString xmlStrToOString( const xmlChar* pString ) { xmlChar* pTemp = xmlStrdup( pString ); - OString sResult = - static_cast<OString>(reinterpret_cast<sal_Char*>( pTemp )); + OString sResult = reinterpret_cast<sal_Char*>( pTemp ); xmlFree( pTemp ); return sResult; } |