From 7fb2fdff429c84e12f892f1de65598b1f222346e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 23 Nov 2011 16:06:24 +0000 Subject: unused local string --- l10ntools/source/helpmerge.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx index 5a9f82e5fe0a..262af63adfca 100644 --- a/l10ntools/source/helpmerge.cxx +++ b/l10ntools/source/helpmerge.cxx @@ -174,7 +174,7 @@ bool HelpParser::CreateSDF( if( pXMLElement != NULL ) { OUString data = pXMLElement->ToOUString(); - String sTmp = String(data.getStr()); + String sTmp = String(data.getStr()); sTmp.SearchAndReplaceAll(ret,ret_char); // Remove \n sTmp.SearchAndReplaceAll(tab,tab_char); // Remove \t @@ -385,10 +385,6 @@ bool HelpParser::MergeSingleFile( XMLFile* file , MergeDataFile& aMergeDataFile static ResData pResData( "","",""); pResData.sResTyp = "help"; - ByteString sTmp = Export::sLanguages; - - sTmp.EraseLeadingAndTrailingChars(); - for(XMLHashMap::iterator pos=aXMLStrHM->begin();pos!=aXMLStrHM->end();++pos) // Merge every l10n related string { -- cgit