diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-25 13:51:15 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-12 22:06:26 -0400 |
commit | 892124072c459ddf818557a3eb0f78c6dc815a52 (patch) | |
tree | 53ce308ca491a221b2128377b7e9a80e65fdafdf /l10ntools | |
parent | f8f5e69fcfb76df2bf52cf6dbf01a8c6e75a440d (diff) |
loplugin:unusedfields various
(cherry picked from commit 1f86864e97bea96fdc608f8c8b93024ad4684d51)
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/export.hxx | 3 | ||||
-rw-r--r-- | l10ntools/source/merge.cxx | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 00e4c3cd8aed..d8372d5906f4 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -289,12 +289,11 @@ public: OString sTyp; OString sGID; OString sLID; - OString sFilename; MergeEntrys* pMergeEntrys; private: MergeDataHashMap::iterator m_aNextData; public: - MergeData( const OString &rTyp, const OString &rGID, const OString &rLID , const OString &rFilename ); + MergeData( const OString &rTyp, const OString &rGID, const OString &rLID ); ~MergeData(); MergeEntrys* GetMergeEntries() { return pMergeEntrys;} diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index dd6639b70dc8..c3a0b094a24b 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -192,11 +192,10 @@ MergeDataHashMap::iterator MergeDataHashMap::find(const OString& rKey) MergeData::MergeData( const OString &rTyp, const OString &rGID, - const OString &rLID , const OString &rFilename ) + const OString &rLID ) : sTyp( rTyp ), sGID( rGID ), sLID( rLID ) , - sFilename( rFilename ), pMergeEntrys( new MergeEntrys() ) { } @@ -411,7 +410,7 @@ void MergeDataFile::InsertEntry( if( !pData ) { - pData = new MergeData( rTYP, rGID, rLID, rInFilename ); + pData = new MergeData( rTYP, rGID, rLID ); aMap.insert( sKey, pData ); } |