[Libreoffice-commits] core.git: l10ntools/inc l10ntools/source

Stephan Bergmann sbergman at redhat.com
Mon Aug 3 11:47:09 PDT 2015


 l10ntools/inc/export.hxx    |    3 +--
 l10ntools/inc/xrmmerge.hxx  |    1 -
 l10ntools/source/export.cxx |    6 ++----
 3 files changed, 3 insertions(+), 7 deletions(-)

New commits:
commit f493f4b9327eba14fc6ceb4eced81cf7ed682955
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Aug 3 20:46:40 2015 +0200

    -Werror,-Wunused-private-field
    
    Change-Id: I10206d2a9673296e1c3c7e813e4696d80cbb2bfc

diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index 9badf8b..c99e0b8 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -139,7 +139,6 @@ private:
     bool bError;                        // any errors while export?
     bool bReadOver;
     OString sFilename;
-    OString sLanguages;
 
     std::vector<OString> aLanguages;
 
@@ -172,7 +171,7 @@ private:
 
 public:
     Export( const OString &rOutput );
-    Export(const OString &rMergeSource, const OString &rOutput, const OString &rLanguage, bool bUTF8BOM);
+    Export(const OString &rMergeSource, const OString &rOutput, bool bUTF8BOM);
     ~Export();
 
     void Init();
diff --git a/l10ntools/inc/xrmmerge.hxx b/l10ntools/inc/xrmmerge.hxx
index 9138369..df2ddaf 100644
--- a/l10ntools/inc/xrmmerge.hxx
+++ b/l10ntools/inc/xrmmerge.hxx
@@ -30,7 +30,6 @@ class XRMResParser
 {
 private:
     OString sGID;
-    OString sLID;
 
     bool bError;
     bool bText;
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index ee4fc43..6b002ef 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -94,7 +94,7 @@ FILE * init(int argc, char ** argv)
 
     if (aArgs.m_bMergeMode) {
         global::exporter.reset(new Export(aArgs.m_sMergeSrc, aArgs.m_sOutputFile,
-                                          aArgs.m_sLanguage, aArgs.m_bUTF8BOM));
+                                          aArgs.m_bUTF8BOM));
     } else {
         global::exporter.reset(new Export(aArgs.m_sOutputFile));
     }
@@ -203,7 +203,6 @@ Export::Export(const OString &rOutput)
                 bError( false ),
                 bReadOver( false ),
                 sFilename( global::inputPathname ),
-                sLanguages( OString() ),
                 pParseQueue( new ParserQueue( *this ) )
 {
     aOutput.mPo = new PoOfstream( rOutput, PoOfstream::APP );
@@ -216,7 +215,7 @@ Export::Export(const OString &rOutput)
 
 Export::Export(
     const OString &rMergeSource, const OString &rOutput,
-    const OString &rLanguage, bool bUTF8BOM)
+    bool bUTF8BOM)
                 :
                 bDefine( false ),
                 bNextMustBeDefineEOL( false ),
@@ -229,7 +228,6 @@ Export::Export(
                 bError( false ),
                 bReadOver( false ),
                 sFilename( global::inputPathname ),
-                sLanguages( rLanguage ),
                 pParseQueue( new ParserQueue( *this ) )
 {
     aOutput.mSimple = new std::ofstream();


More information about the Libreoffice-commits mailing list