summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-12-26 14:34:15 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2013-12-27 07:14:54 +0100
commitda989b523e6eb960722eb8de6babca534f54a350 (patch)
tree5c82277a3db966de48c6b8af23355eed66fb5f8d
parentedf7d340eb8d78cb99941cc28e23928d05697b10 (diff)
Transex3: remove unused text types
Change-Id: Iad98aae685153589ff72a4be2ec704c0d311e1fd
-rw-r--r--l10ntools/inc/export.hxx4
-rw-r--r--l10ntools/source/export.cxx12
2 files changed, 1 insertions, 15 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index e3a919035490..2d78d1368932 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -90,12 +90,8 @@ public:
//
#define ID_LEVEL_NULL 0x0000
-#define ID_LEVEL_AUTOID 0x0001
#define ID_LEVEL_TEXT 0x0002
-#define ID_LEVEL_FIELDNAME 0x0003
-#define ID_LEVEL_ACCESSPATH 0x0004
#define ID_LEVEL_IDENTIFIER 0x0005
-#define ID_LEVEL_LISTINDEX 0x0006
/// Purpose: holds mandatory data to export a single res (used with ResStack)
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 7df459af13fc..f1d55acc58a9 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -622,11 +622,7 @@ int Export::Execute( int nToken, const char * pToken )
if ( !sText.isEmpty() && !sLang.isEmpty() )
{
sKey = sKey.toAsciiUpperCase();
- if (sKey == "TEXT" ||
- sKey == "MESSAGE" ||
- sKey == "CUSTOMUNITTEXT" ||
- sKey == "SLOTNAME" ||
- sKey == "UINAME")
+ if (sKey == "TEXT" || sKey == "MESSAGE" || sKey == "CUSTOMUNITTEXT")
{
SetChildWithText();
if ( sLangIndex.equalsIgnoreAsciiCase("en-US") )
@@ -676,12 +672,6 @@ int Export::Execute( int nToken, const char * pToken )
pResData->sTitle[ sLangIndex ] = sText;
}
}
- else if ( sKey == "ACCESSPATH" ) {
- pResData->SetId( sText, ID_LEVEL_ACCESSPATH );
- }
- else if ( sKey == "FIELDNAME" ) {
- pResData->SetId( sText, ID_LEVEL_FIELDNAME );
- }
}
}
break;