summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-12-26 14:39:05 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2013-12-27 07:14:57 +0100
commit87d683ead482adc252eedfe2b6cffc9e41757fed (patch)
treeb5aad85fc79e1ad00e985a65ca4aa69ced813bff /l10ntools
parent62b688f961dd59d274c1f917fe62c2c91318921f (diff)
Transex3: no need to check whether a lang occurs twice
It was an old concept that besides the en-US entry other language entries were also added and in this case may happened that one lang occured twice. Change-Id: Ifac7089309ecf4a59b128c0fea5e8b757ca2c8a8
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/export.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 32d2747e3dbd..6427a139c30a 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -628,13 +628,6 @@ int Export::Execute( int nToken, const char * pToken )
pResData->sTextTyp = sOrigKey;
if ( !bMergeMode )
{
- if (!pResData->sText[ sLangIndex ].isEmpty())
- {
- OStringBuffer sError("Language ");
- sError.append(sLangIndex);
- sError.append("defined twice");
- yyerror(sError.getStr());
- }
pResData->sText[ sLangIndex ] = sText;
}
}
@@ -643,13 +636,6 @@ int Export::Execute( int nToken, const char * pToken )
pResData->bQuickHelpText = sal_True;
if ( !bMergeMode )
{
- if (!pResData->sQuickHelpText[ sLangIndex ].isEmpty())
- {
- OStringBuffer sError("Language ");
- sError.append(sLangIndex);
- sError.append(" defined twice");
- YYWarning(sError.getStr());
- }
pResData->sQuickHelpText[ sLangIndex ] = sText;
}
}
@@ -658,13 +644,6 @@ int Export::Execute( int nToken, const char * pToken )
pResData->bTitle = sal_True;
if ( !bMergeMode )
{
- if ( !pResData->sTitle[ sLangIndex ].isEmpty())
- {
- OStringBuffer sError("Language ");
- sError.append(sLangIndex);
- sError.append(" defined twice");
- YYWarning(sError.getStr());
- }
pResData->sTitle[ sLangIndex ] = sText;
}
}