diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-15 11:27:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 08:45:17 +0200 |
commit | 98c4cd372bf0e9d4b5b129405f5af4562d8a0f64 (patch) | |
tree | f3aae749f01d0453a227b922a6ad3217171700d7 /include/filter | |
parent | 666901bc82fab69f9a80b564f97b5456d0ef684e (diff) |
loplugin:unusedfields improve write-only analysis
by whitelisting a couple of methods we know only write to their
parameters
Change-Id: Id7aef9c03c23d10c27707b21eb9a0db4a6c2757c
Reviewed-on: https://gerrit.libreoffice.org/37647
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter')
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index dcce24bb3644..3d4752768a58 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -151,7 +151,6 @@ typedef ::std::multiset< std::shared_ptr<SvxMSDffShapeInfo>, struct SvxMSDffConnectorRule { - sal_uInt32 nRuleId; sal_uInt32 nShapeA; ///< SPID of shape A sal_uInt32 nShapeB; ///< SPID of shape B sal_uInt32 nShapeC; ///< SPID of connector shape @@ -166,8 +165,7 @@ struct SvxMSDffConnectorRule SdrObject* pCObj; ///< pPtr of connector object SvxMSDffConnectorRule() - : nRuleId(0) - , nShapeA(0) + : nShapeA(0) , nShapeB(0) , nShapeC(0) , ncptiA(0) @@ -194,7 +192,6 @@ struct MSFILTER_DLLPUBLIC SvxMSDffSolverContainer struct FIDCL { sal_uInt32 dgid; ///< DG owning the SPIDs in this cluster - sal_uInt32 cspidCur; ///< number of SPIDs used so far }; /// provided by SvxMSDffManager for each shape in a group @@ -414,7 +411,6 @@ protected: OUString maBaseURL; sal_uInt32 mnCurMaxShapeId; // we need this information to - sal_uInt32 mnDrawingsSaved; // access the right drawing sal_uInt32 mnIdClusters; // while only knowing the shapeid std::vector<FIDCL> maFidcls; OffsetMap maDgOffsetTable; ///< array of fileoffsets |