Kaydet (Commit) da989b52 authored tarafından Zolnai Tamás's avatar Zolnai Tamás Kaydeden (comit) Zolnai Tamás

Transex3: remove unused text types

Change-Id: Iad98aae685153589ff72a4be2ec704c0d311e1fd
üst edf7d340
...@@ -90,12 +90,8 @@ public: ...@@ -90,12 +90,8 @@ public:
// //
#define ID_LEVEL_NULL 0x0000 #define ID_LEVEL_NULL 0x0000
#define ID_LEVEL_AUTOID 0x0001
#define ID_LEVEL_TEXT 0x0002 #define ID_LEVEL_TEXT 0x0002
#define ID_LEVEL_FIELDNAME 0x0003
#define ID_LEVEL_ACCESSPATH 0x0004
#define ID_LEVEL_IDENTIFIER 0x0005 #define ID_LEVEL_IDENTIFIER 0x0005
#define ID_LEVEL_LISTINDEX 0x0006
/// Purpose: holds mandatory data to export a single res (used with ResStack) /// Purpose: holds mandatory data to export a single res (used with ResStack)
......
...@@ -622,11 +622,7 @@ int Export::Execute( int nToken, const char * pToken ) ...@@ -622,11 +622,7 @@ int Export::Execute( int nToken, const char * pToken )
if ( !sText.isEmpty() && !sLang.isEmpty() ) if ( !sText.isEmpty() && !sLang.isEmpty() )
{ {
sKey = sKey.toAsciiUpperCase(); sKey = sKey.toAsciiUpperCase();
if (sKey == "TEXT" || if (sKey == "TEXT" || sKey == "MESSAGE" || sKey == "CUSTOMUNITTEXT")
sKey == "MESSAGE" ||
sKey == "CUSTOMUNITTEXT" ||
sKey == "SLOTNAME" ||
sKey == "UINAME")
{ {
SetChildWithText(); SetChildWithText();
if ( sLangIndex.equalsIgnoreAsciiCase("en-US") ) if ( sLangIndex.equalsIgnoreAsciiCase("en-US") )
...@@ -676,12 +672,6 @@ int Export::Execute( int nToken, const char * pToken ) ...@@ -676,12 +672,6 @@ int Export::Execute( int nToken, const char * pToken )
pResData->sTitle[ sLangIndex ] = sText; 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; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment