diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-18 12:38:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-19 09:17:06 +0200 |
commit | fd00bd0f69676659bb43bcc85d8ad5fd21e5de4c (patch) | |
tree | f9d62fef7f508f430efd72c85b0d0cf6a67da3be /rsc/source/parser/rscdb.cxx | |
parent | 8a01fc2f505acc6ed9af5ba18049131225baad30 (diff) |
loplugin:unusedfields
make it a little smarter in dealing with fields that are smart pointers
Change-Id: I44072105170882dc29fb19558f1065cffc7e5f11
Reviewed-on: https://gerrit.libreoffice.org/37751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc/source/parser/rscdb.cxx')
-rw-r--r-- | rsc/source/parser/rscdb.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx index 7eafff1f4398..cf6f73bbaba8 100644 --- a/rsc/source/parser/rscdb.cxx +++ b/rsc/source/parser/rscdb.cxx @@ -39,7 +39,6 @@ RscTypCont::RscTypCont( RscError * pErrHdl, CommandFlags nFlagsP ) : nSourceCharSet( RTL_TEXTENCODING_UTF8 ) , nByteOrder( nOrder ) - , nUniqueId(256) , nFilePos( 0 ) , nPMId(RSC_VERSIONCONTROL + RESOURCE_TYPE(1)) // at least one more , aEnumLong( pHS->getID( "enum_long" ), RSC_NOTYPE ) @@ -175,17 +174,6 @@ RscTypCont::~RscTypCont() for (RscTop* pItem : aBaseLst) delete pItem; - - for (RscSysEntry* pItem: aSysLst) - delete pItem; -} - -void RscTypCont::ClearSysNames() -{ - for (RscSysEntry* pItem: aSysLst) - delete pItem; - - aSysLst.clear(); } class RscEnumerateObj |