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/inc | |
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/inc')
-rw-r--r-- | rsc/inc/rscdb.hxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index a33d9eca7a33..da235e8bc0e3 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -46,23 +46,12 @@ struct WriteRcContext RscCmdLine* pCmdLine; }; -// table for system dependent resources -struct RscSysEntry -{ - sal_uInt32 nKey; - RESOURCE_TYPE nRscTyp; - OString aFileName; - sal_uInt32 nTyp; - sal_uInt32 nRefId; -}; - class RscTypCont { rtl_TextEncoding nSourceCharSet; RSCBYTEORDER_TYPE nByteOrder; // Intel or OString aLanguage; // output language std::vector< sal_uInt32 > aLangFallbacks; // language fallback list (entry 0 is language itself) - sal_uInt32 nUniqueId; // unique id for system resources sal_uLong nFilePos; // position in file (MTF) sal_uInt32 nPMId; // unique id for PR-resource file // must be greater that RSC_VERSIONCONTROL_ID @@ -71,8 +60,6 @@ class RscTypCont ::std::vector< RscTop* > aBaseLst; // list of simple resource class - ::std::vector< RscSysEntry* > - aSysLst; // list of system resources void Init(); // initializes classes and tables void SETCONST( RscEnum *, const char *, sal_uInt32 ); @@ -114,7 +101,6 @@ public: } // deletes all resource objects of this file void Delete( RscFileTab::Index lFileKey ); - void ClearSysNames(); ERRTYPE WriteRc( WriteRcContext& rContext ); void WriteSrc( FILE * fOutput, RscFileTab::Index nFileIndex ); void PutTranslatorKey( sal_uInt64 nKey ); |