diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-24 09:05:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-24 11:02:19 +0200 |
commit | 3e4b0bde6252b80ccc99c8b9ae261d79456ba026 (patch) | |
tree | 2013dd4708bea9d1ae542704ef8bb85704e12573 /l10ntools/source | |
parent | 351202fd9bff1a9cf5b82d6aef5df14a4222a5e9 (diff) |
loplugin:unusedfields some untouched fields
which lead to a whole bunch of dead code in vcl/.../i18n_status.cxx
Change-Id: Id8eeadeb9cbc6107e1a0dac5801ce20b2b9ae6dc
Reviewed-on: https://gerrit.libreoffice.org/40355
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/merge.cxx | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index fa213224a533..af4ffb8d308c 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -60,29 +60,15 @@ namespace ResData::ResData( const OString &rGId ) : - nIdLevel( IdLevel::Null ), - bChild( false ), - bChildWithText( false ), - bText( false ), - bQuickHelpText( false ), - bTitle( false ), - sGId( rGId ), - sTextTyp( "Text" ) + sGId( rGId ) { sGId = sGId.replaceAll("\r", OString()); } ResData::ResData( const OString &rGId, const OString &rFilename) : - nIdLevel( IdLevel::Null ), - bChild( false ), - bChildWithText( false ), - bText( false ), - bQuickHelpText( false ), - bTitle( false ), sGId( rGId ), - sFilename( rFilename ), - sTextTyp( "Text" ) + sFilename( rFilename ) { sGId = sGId.replaceAll("\r", OString()); } @@ -197,11 +183,8 @@ MergeDataHashMap::iterator const & MergeDataHashMap::find(const OString& rKey) // class MergeData -MergeData::MergeData(const OString &rGID, - const OString &rLID ) - : sGID( rGID ), - sLID( rLID ) , - pMergeEntrys( new MergeEntrys() ) +MergeData::MergeData() + : pMergeEntrys( new MergeEntrys() ) { } @@ -407,7 +390,7 @@ void MergeDataFile::InsertEntry( if( !pData ) { - pData = new MergeData( rGID, rLID ); + pData = new MergeData; aMap.insert( sKey, pData ); } |