summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-15 11:27:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 08:45:17 +0200
commit98c4cd372bf0e9d4b5b129405f5af4562d8a0f64 (patch)
treef3aae749f01d0453a227b922a6ad3217171700d7 /include
parent666901bc82fab69f9a80b564f97b5456d0ef684e (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')
-rw-r--r--include/filter/msfilter/msdffimp.hxx6
-rw-r--r--include/framework/addonsoptions.hxx1
-rw-r--r--include/oox/export/chartexport.hxx1
3 files changed, 1 insertions, 7 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
diff --git a/include/framework/addonsoptions.hxx b/include/framework/addonsoptions.hxx
index 30a46a9ff841..873315da46c0 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -74,7 +74,6 @@ struct FWE_DLLPUBLIC MergeStatusbarInstruction
::rtl::OUString aMergePoint;
::rtl::OUString aMergeCommand;
::rtl::OUString aMergeCommandParameter;
- ::rtl::OUString aMergeFallback;
::rtl::OUString aMergeContext;
css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > aMergeStatusbarItems;
};
diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx
index ef537d688e4a..f8c055c3be92 100644
--- a/include/oox/export/chartexport.hxx
+++ b/include/oox/export/chartexport.hxx
@@ -105,7 +105,6 @@ private:
// members filled by InitRangeSegmentationProperties (retrieved from DataProvider)
bool mbHasCategoryLabels; //if the categories are only automatically generated this will be false
OUString msChartAddress;
- css::uno::Sequence< sal_Int32 > maSequenceMapping;
//css::uno::Reference< css::drawing::XShapes > mxAdditionalShapes;
css::uno::Reference< css::chart2::data::XDataSequence > mxCategoriesValues;