From 98c4cd372bf0e9d4b5b129405f5af4562d8a0f64 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 15 May 2017 11:27:44 +0200 Subject: 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 Reviewed-by: Noel Grandin --- include/filter/msfilter/msdffimp.hxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/filter/msfilter/msdffimp.hxx') 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, 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 maFidcls; OffsetMap maDgOffsetTable; ///< array of fileoffsets -- cgit