From 9e0b3423f21c23a8ef2fe749ea7dd7c1194c2f9a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Aug 2019 11:06:41 +0200 Subject: loplugin:referencecasting find more redundant static_cast Change-Id: I3a51812bbd3fcdc6b11e47cb12962f0d4fa7a2ae Reviewed-on: https://gerrit.libreoffice.org/78191 Tested-by: Jenkins Reviewed-by: Noel Grandin --- l10ntools/source/helper.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'l10ntools/source') 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(reinterpret_cast( pTemp )); + OString sResult = reinterpret_cast( pTemp ); xmlFree( pTemp ); return sResult; } -- cgit