summaryrefslogtreecommitdiff
path: root/l10ntools/source/lngex.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-13 12:46:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-14 10:39:11 +0200
commit31c52706fcb73c4f088ade5b949035c53e6d36f0 (patch)
tree12b4e1638c868e4760005e8b2a9a4d39306172de /l10ntools/source/lngex.cxx
parent27b76a44593c654800cf0f90d82ccc8d5a6f1c48 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I4b541b2a0de4fd395a613a47c9a3868199f42513
Diffstat (limited to 'l10ntools/source/lngex.cxx')
-rw-r--r--l10ntools/source/lngex.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/l10ntools/source/lngex.cxx b/l10ntools/source/lngex.cxx
index 5f8f8cd57031..0e910badfff7 100644
--- a/l10ntools/source/lngex.cxx
+++ b/l10ntools/source/lngex.cxx
@@ -51,7 +51,6 @@
rtl::OString sInputFile;
sal_Bool bEnableExport;
sal_Bool bMergeMode;
-sal_Bool bErrorLog;
sal_Bool bUTF8;
sal_Bool bULF; // ULF = Unicode Language File
rtl::OString sPrj;
@@ -65,7 +64,6 @@ sal_Bool ParseCommandLine( int argc, char* argv[])
{
bEnableExport = sal_False;
bMergeMode = sal_False;
- bErrorLog = sal_True;
bUTF8 = sal_True;
bULF = sal_False;
sPrj = "";
@@ -91,7 +89,6 @@ sal_Bool ParseCommandLine( int argc, char* argv[])
else if (sSwitch.equalsL(RTL_CONSTASCII_STRINGPARAM("-E")))
{
nState = STATE_ERRORLOG;
- bErrorLog = sal_False;
}
else if (sSwitch.equalsL(RTL_CONSTASCII_STRINGPARAM("-L")))
nState = STATE_LANGUAGES;
@@ -166,7 +163,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
if (!sOutputFile.isEmpty())
{
- LngParser aParser( sInputFile, bUTF8, bULF );
+ LngParser aParser( sInputFile, bULF );
if ( bMergeMode )
aParser.Merge(sMergeSrc, sOutputFile);
else