diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-07-22 17:53:11 +0200 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-07-22 17:53:11 +0200 |
commit | 3a7826b9ff0ddcfc9032c5ef707f754ae4abd3d2 (patch) | |
tree | d56ba3d5bdb280b39ed85c88da73256934e64ae6 /l10ntools/source/lngex.cxx | |
parent | 5ddf16d8358a38c0098d3060dcee90c518f0dd85 (diff) |
txtl10n: cleanup / remove all -QQ and quiet parts
Diffstat (limited to 'l10ntools/source/lngex.cxx')
-rw-r--r-- | l10ntools/source/lngex.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/l10ntools/source/lngex.cxx b/l10ntools/source/lngex.cxx index 27136dc8797f..4ec069a810f5 100644 --- a/l10ntools/source/lngex.cxx +++ b/l10ntools/source/lngex.cxx @@ -53,7 +53,6 @@ BOOL bMergeMode; BOOL bErrorLog; BOOL bUTF8; BOOL bULF; // ULF = Unicode Language File -bool bQuiet; ByteString sPrj; ByteString sPrjRoot; ByteString sOutputFile; @@ -68,7 +67,6 @@ BOOL ParseCommandLine( int argc, char* argv[]) bErrorLog = TRUE; bUTF8 = TRUE; bULF = FALSE; - bQuiet = false; sPrj = ""; sPrjRoot = ""; Export::sLanguages = ""; @@ -92,9 +90,6 @@ BOOL ParseCommandLine( int argc, char* argv[]) else if ( sSwitch == "-R" ) { nState = STATE_ROOT; // next token specifies path to project root } - else if ( sSwitch == "-QQ" ) { - bQuiet = true; - } else if ( sSwitch == "-M" ) { nState = STATE_MERGESRC; // next token specifies the merge database } @@ -176,9 +171,6 @@ void Help() fprintf( stdout, " FileIn: Source file (*.lng)\n" ); fprintf( stdout, " FileOut: Destination file (*.*)\n" ); fprintf( stdout, " DataBase: Mergedata (*.sdf)\n" ); - fprintf( stdout, " -QQ: quite output\n" ); - //fprintf( stdout, " -NOUTF8: disable UTF8 as language independent encoding\n" ); - //fprintf( stdout, " -ULF: enables Unicode Language File format, leads to UTF8 encoded version of lng files" ); fprintf( stdout, " -L: Restrict the handled languages. l1,l2,... are elements of (de,en-US...)\n" ); fprintf( stdout, " A fallback language can be defined like this: l1=f1.\n" ); fprintf( stdout, " f1, f2,... are also elements of (de,en-US...)\n" ); @@ -202,7 +194,7 @@ int _cdecl main( int argc, char *argv[] ) fflush( stdout ); if ( sOutputFile.Len()) { - LngParser aParser( sInputFile, bUTF8, bULF , bQuiet ); + LngParser aParser( sInputFile, bUTF8, bULF ); if ( bMergeMode ) aParser.Merge( sMergeSrc, sOutputFile , sPrj ); else |