summaryrefslogtreecommitdiff
path: root/l10ntools/source/xrmmerge.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/xrmmerge.cxx
parent27b76a44593c654800cf0f90d82ccc8d5a6f1c48 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I4b541b2a0de4fd395a613a47c9a3868199f42513
Diffstat (limited to 'l10ntools/source/xrmmerge.cxx')
-rw-r--r--l10ntools/source/xrmmerge.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx
index a26e866388af..7d2a01f2215e 100644
--- a/l10ntools/source/xrmmerge.cxx
+++ b/l10ntools/source/xrmmerge.cxx
@@ -58,7 +58,6 @@ void YYWarning( const char * );
// set of global variables
sal_Bool bEnableExport;
sal_Bool bMergeMode;
-sal_Bool bErrorLog;
sal_Bool bUTF8;
sal_Bool bDisplayName;
sal_Bool bExtensionDescription;
@@ -81,7 +80,6 @@ extern char *GetOutputFile( int argc, char* argv[])
{
bEnableExport = sal_False;
bMergeMode = sal_False;
- bErrorLog = sal_True;
bUTF8 = sal_True;
bDisplayName = sal_False;
bExtensionDescription = sal_False;
@@ -112,7 +110,6 @@ extern char *GetOutputFile( int argc, char* argv[])
}
else if ( rtl::OString( argv[ i ] ).toAsciiUpperCase() == "-E" ) {
nState = STATE_ERRORLOG;
- bErrorLog = sal_False;
}
else if ( rtl::OString( argv[ i ] ).toAsciiUpperCase() == "-L" ) {
nState = STATE_LANGUAGES;
@@ -577,7 +574,7 @@ XRMResMerge::XRMResMerge(
{
if (!rMergeSource.isEmpty())
pMergeDataFile = new MergeDataFile(
- rMergeSource, sInputFileName, bErrorLog);
+ rMergeSource, sInputFileName, false);
if( Export::sLanguages.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("ALL")))
{
Export::SetLanguages( pMergeDataFile->GetLanguages() );