summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 09:30:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 11:26:09 +0200
commit469076317d27e545449ea5a5688a468d02558451 (patch)
tree21bca3de53d7ef299c35d57b2d1267e22f7c9c6b /rsc
parent8237a77245227e434ce8a988aa164a67850281e2 (diff)
loplugin:unusedfields l10ntools..rsc
Change-Id: I78785eeab436910c9e8733924a7c43fa998ba36f Reviewed-on: https://gerrit.libreoffice.org/39491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscall.h3
-rw-r--r--rsc/source/res/rsccont.cxx2
2 files changed, 0 insertions, 5 deletions
diff --git a/rsc/inc/rscall.h b/rsc/inc/rscall.h
index d8222b7c1d31..e141b50340f4 100644
--- a/rsc/inc/rscall.h
+++ b/rsc/inc/rscall.h
@@ -80,10 +80,7 @@ struct RSCINST
/********************** S U B I N F O S T R U C T ************************/
struct SUBINFO_STRUCT
{
- SUBINFO_STRUCT(){ nPos = 0; pClass = nullptr; };
RscId aId; // resource identifier
- sal_uInt32 nPos; // position of resource
- RscTop * pClass; // class of entry
};
/******************* F u n c t i o n *************************************/
diff --git a/rsc/source/res/rsccont.cxx b/rsc/source/res/rsccont.cxx
index dad3aa9db830..60e7064efe49 100644
--- a/rsc/source/res/rsccont.cxx
+++ b/rsc/source/res/rsccont.cxx
@@ -315,8 +315,6 @@ SUBINFO_STRUCT RscBaseCont::GetInfoEle( const RSCINST & rInst, sal_uInt32 nPos )
if( nPos < pClassData->nEntries )
{
aInfo.aId = pClassData->pEntries[ nPos ].aName;
- aInfo.nPos = nPos;
- aInfo.pClass = pClassData->pEntries[ nPos ].aInst.pClass;
}
return aInfo;
}