From 883988e3e49885aff5c7885c1334711c0c952e2f Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 20 Sep 2011 09:50:10 +0200 Subject: remove obsolete command line switch -ISO99 --- l10ntools/source/cfgmerge.cxx | 4 ---- l10ntools/source/export2.cxx | 1 - l10ntools/source/xrmlex.l | 1 - l10ntools/source/xrmmerge.cxx | 4 ---- 4 files changed, 10 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index 047839c4b8d5..8a499143e232 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -50,7 +50,6 @@ extern "C" { int YYWarning( char * ); } #define STATE_ERRORLOG 0x0007 #define STATE_UTF8 0x0008 #define STATE_LANGUAGES 0X0009 -#define STATE_ISOCODE99 0x000A #define STATE_FORCE 0x000B // set of global variables @@ -129,9 +128,6 @@ extern char *GetOutputFile( int argc, char* argv[]) else if ( sSwitch == "-L" ) { nState = STATE_LANGUAGES; } - else if ( sSwitch.ToUpperAscii() == "-ISO99" ) { - nState = STATE_ISOCODE99; - } else { switch ( nState ) { case STATE_NON: { diff --git a/l10ntools/source/export2.cxx b/l10ntools/source/export2.cxx index 1494787cadf7..64379d463752 100644 --- a/l10ntools/source/export2.cxx +++ b/l10ntools/source/export2.cxx @@ -94,7 +94,6 @@ ResData::~ResData() /*****************************************************************************/ ByteString Export::sLanguages; ByteString Export::sForcedLanguages; -//ByteString Export::sIsoCode99; /*****************************************************************************/ void Export::DumpExportList( ByteString& sListName , ExportList& aList ){ diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l index 034812cf61f5..29b2081ce808 100644 --- a/l10ntools/source/xrmlex.l +++ b/l10ntools/source/xrmlex.l @@ -197,7 +197,6 @@ main( int argc, char* argv[]) fprintf( stdout, " f1, f2,... are also elements of (de,en-US,es...)\n" ); fprintf( stdout, " Example: -L en-US,es=de\n" ); fprintf( stdout, " Restriction to es and en-US, de will be fallback for 99\n" ); -// fprintf( stdout, " -ISO99: IsoCode is the full qualified ISO language code for language 99" ); return 1; } pFile = GetXrmFile(); diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx index 436c373e2b74..80e5979ad12f 100644 --- a/l10ntools/source/xrmmerge.cxx +++ b/l10ntools/source/xrmmerge.cxx @@ -54,7 +54,6 @@ extern "C" { int YYWarning( char * ); } #define STATE_ERRORLOG 0x0007 #define STATE_UTF8 0x000B #define STATE_LANGUAGES 0x000C -#define STATE_ISOCODE99 0x000D // set of global variables sal_Bool bEnableExport; @@ -121,9 +120,6 @@ extern char *GetOutputFile( int argc, char* argv[]) else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-L" ) { nState = STATE_LANGUAGES; } - else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-ISO99" ) { - nState = STATE_ISOCODE99; - } else { switch ( nState ) { case STATE_NON: { -- cgit