summaryrefslogtreecommitdiff
path: root/l10ntools/source/helper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/helper.cxx')
-rw-r--r--l10ntools/source/helper.cxx3
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;
}