summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/inc/cfgmerge.hxx3
-rw-r--r--l10ntools/inc/xrmmerge.hxx2
-rw-r--r--l10ntools/source/cfgmerge.cxx10
3 files changed, 1 insertions, 14 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx
index 00838dea6c71..9710008707aa 100644
--- a/l10ntools/inc/cfgmerge.hxx
+++ b/l10ntools/inc/cfgmerge.hxx
@@ -122,7 +122,6 @@ protected:
private:
int ExecuteAnalyzedToken( int nToken, char *pToken );
- std::vector<OString> aLanguages;
void AddText(
OString &rText,
const OString &rIsoLang,
@@ -145,8 +144,6 @@ class CfgExport : public CfgParser
{
private:
OString sPath;
- std::vector<OString> aLanguages;
-
PoOfstream pOutputStream;
protected:
diff --git a/l10ntools/inc/xrmmerge.hxx b/l10ntools/inc/xrmmerge.hxx
index 9e5fbae65d07..a2a8906a1b17 100644
--- a/l10ntools/inc/xrmmerge.hxx
+++ b/l10ntools/inc/xrmmerge.hxx
@@ -38,7 +38,6 @@ private:
OString sCurrentCloseTag;
OString sCurrentText;
protected:
- std::vector<OString> aLanguages;
OString GetAttribute( const OString &rToken, const OString &rAttribute );
void Error( const OString &rError );
@@ -113,6 +112,7 @@ private:
OString sFilename;
ResData *pResData;
std::ofstream pOutputStream;
+ std::vector<OString> aLanguages;
protected:
void WorkOnDesc(
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx
index e5923ab153c6..b2f47b27274c 100644
--- a/l10ntools/source/cfgmerge.cxx
+++ b/l10ntools/source/cfgmerge.cxx
@@ -221,11 +221,6 @@ int CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
case CFG_TEXT_START: {
if ( sCurrentResTyp != sTokenName ) {
WorkOnResourceEnd();
- OString sCur;
- for( unsigned int i = 0; i < aLanguages.size(); ++i ){
- sCur = aLanguages[ i ];
- pStackData->sText[ sCur ] = OString();
- }
}
sCurrentResTyp = sTokenName;
@@ -257,11 +252,6 @@ int CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
else if ( sTokenName == "label" ) {
if ( sCurrentResTyp != sTokenName ) {
WorkOnResourceEnd();
- OString sCur;
- for( unsigned int i = 0; i < aLanguages.size(); ++i ){
- sCur = aLanguages[ i ];
- pStackData->sText[ sCur ] = OString();
- }
}
sCurrentResTyp = sTokenName;
}