diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-03 20:46:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-03 20:46:40 +0200 |
commit | f493f4b9327eba14fc6ceb4eced81cf7ed682955 (patch) | |
tree | 2b91d6f1c234e80b187a59e30a6ac2d11ad038d7 /l10ntools | |
parent | 5fcef02ee288c894a89c1046df918c121294b757 (diff) |
-Werror,-Wunused-private-field
Change-Id: I10206d2a9673296e1c3c7e813e4696d80cbb2bfc
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/export.hxx | 3 | ||||
-rw-r--r-- | l10ntools/inc/xrmmerge.hxx | 1 | ||||
-rw-r--r-- | l10ntools/source/export.cxx | 6 |
3 files changed, 3 insertions, 7 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 9badf8b9ad3f..c99e0b846738 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 9138369f71ea..df2ddafaf5c3 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 ee4fc4376b93..6b002ef81a2f 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(); |