[Libreoffice-commits] .: l10ntools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Dec 9 14:20:25 PST 2012


 l10ntools/source/export.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit be487d6ee1b97901a903fe5c6dd7ab2cad702b04
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date:   Sun Dec 9 23:12:06 2012 +0100

    Fix result of wrong revert order
    
    Change-Id: Ifebe135badbda741d768d2680267623aff6c2b56

diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index c709ace..13870da 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1531,7 +1531,6 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString &rText, sal_uInt16 nTyp,
     }
 
     PFormEntrys *pEntrys = pMergeDataFile->GetPFormEntrys( pResData );
-    const OString sKey = pResData->sId + pResData->sGId + pResData->sResTyp;
     pResData->sId = sOldId;
     pResData->sGId = sOldGId;
     pResData->sResTyp = sOldTyp;
@@ -1549,9 +1548,6 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString &rText, sal_uInt16 nTyp,
         return sal_False; // no data found
     }
 
-    if (rLangIndex == "en-US")
-        aOrigListItems.insert(std::pair<OString,OString>(sKey,rText.copy(nStart+1,nEnd-nStart-1)));
-
     if (Export::isSourceLanguage(rLangIndex))
         return sal_False;
 


More information about the Libreoffice-commits mailing list