diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-13 12:46:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-14 10:39:11 +0200 |
commit | 31c52706fcb73c4f088ade5b949035c53e6d36f0 (patch) | |
tree | 12b4e1638c868e4760005e8b2a9a4d39306172de /l10ntools/source/helpex.cxx | |
parent | 27b76a44593c654800cf0f90d82ccc8d5a6f1c48 (diff) |
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I4b541b2a0de4fd395a613a47c9a3868199f42513
Diffstat (limited to 'l10ntools/source/helpex.cxx')
-rw-r--r-- | l10ntools/source/helpex.cxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx index cad9c559908e..7896fdd8598a 100644 --- a/l10ntools/source/helpex.cxx +++ b/l10ntools/source/helpex.cxx @@ -56,8 +56,6 @@ rtl::OString sInputFile; sal_Bool bEnableExport; sal_Bool bMergeMode; -sal_Bool bErrorLog; -sal_Bool bUTF8; rtl::OString sPrj; rtl::OString sPrjRoot; rtl::OString sOutputFile; @@ -71,8 +69,6 @@ sal_Bool ParseCommandLine( int argc, char* argv[]) { bEnableExport = sal_False; bMergeMode = sal_False; - bErrorLog = sal_True; - bUTF8 = sal_True; sPrj = ""; sPrjRoot = ""; Export::sLanguages = ""; @@ -104,7 +100,6 @@ sal_Bool ParseCommandLine( int argc, char* argv[]) else if (aArg.equalsL(RTL_CONSTASCII_STRINGPARAM("-E" ))) { nState = STATE_ERRORLOG; - bErrorLog = sal_False; } else if (aArg.equalsL(RTL_CONSTASCII_STRINGPARAM("-L" ))) nState = STATE_LANGUAGES; @@ -197,12 +192,12 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { bool hasNoError = true; if ( sOutputFile.getLength() ){ // Merge single file ? - HelpParser aParser( sInputFile, bUTF8 , false ); + HelpParser aParser( sInputFile ); if ( bMergeMode ) { //sal_uInt64 startreadloc = Export::startMessure(); - MergeDataFile aMergeDataFile(sSDFFile, sInputFile, sal_False); + MergeDataFile aMergeDataFile(sSDFFile, sInputFile, false); hasNoError = aParser.Merge( sSDFFile, sOutputFile , Export::sLanguages , aMergeDataFile ); } @@ -233,7 +228,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { aFStream.close(); rtl::OString sHelpFile; // dummy - MergeDataFile aMergeDataFile( sSDFFile, sHelpFile, sal_False ); + MergeDataFile aMergeDataFile( sSDFFile, sHelpFile, false ); std::vector<rtl::OString> aLanguages; HelpParser::parse_languages( aLanguages , aMergeDataFile ); @@ -243,7 +238,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { { sHelpFile = *pos; - HelpParser aParser( sHelpFile , bUTF8 , true ); + HelpParser aParser( sHelpFile ); hasNoError = aParser.Merge( sSDFFile , sOutputFileX , sOutputFileY , true , aLanguages , aMergeDataFile , bCreateDir ); bCreateDir = false; } |