From ae25d5d3a333f58723eb9449cd3694cc0b80b3a6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Nov 2018 10:22:37 +0200 Subject: loplugin:unusedfields Change-Id: Iffbb4e7107a0b1ae35c879c193a9ec209addf453 Reviewed-on: https://gerrit.libreoffice.org/64144 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/filter/xml/xmlimprt.hxx | 6 ------ sc/source/filter/xml/xmltransformationi.cxx | 1 + sc/source/filter/xml/xmltransformationi.hxx | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) (limited to 'sc') diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index 7cd7eabe70dc..d64f0160bc88 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -171,12 +171,6 @@ class XMLShapeImportHelper; class ScXMLChangeTrackingImportHelper; class SolarMutexGuard; -struct tScMyCellRange -{ - sal_Int32 StartColumn, EndColumn; - sal_Int32 StartRow, EndRow; -}; - struct ScMyNamedExpression { OUString sName; diff --git a/sc/source/filter/xml/xmltransformationi.cxx b/sc/source/filter/xml/xmltransformationi.cxx index 0d280bc7ab5c..576716f87140 100644 --- a/sc/source/filter/xml/xmltransformationi.cxx +++ b/sc/source/filter/xml/xmltransformationi.cxx @@ -423,6 +423,7 @@ ScXMLColumnNumberContext::ScXMLColumnNumberContext( , maType(sc::NUMBER_TRANSFORM_TYPE::ROUND) , maPrecision(0) { + OUString aType; if (rAttrList.is()) { for (auto& aIter : *rAttrList) diff --git a/sc/source/filter/xml/xmltransformationi.hxx b/sc/source/filter/xml/xmltransformationi.hxx index b927708cadad..a8ae4bb1dcdc 100644 --- a/sc/source/filter/xml/xmltransformationi.hxx +++ b/sc/source/filter/xml/xmltransformationi.hxx @@ -119,7 +119,6 @@ public: class ScXMLColumnNumberContext : public ScXMLImportContext { - OUString aType; sc::NUMBER_TRANSFORM_TYPE maType; int maPrecision; std::set maColumns; -- cgit