summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 10:22:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-28 10:00:01 +0100
commitae25d5d3a333f58723eb9449cd3694cc0b80b3a6 (patch)
treeea2e7aa8375bb5142c7a67bbf4def4cc06269037 /sc
parent6db4b97ee12805ce993bd7663a0613b4b4f25587 (diff)
loplugin:unusedfields
Change-Id: Iffbb4e7107a0b1ae35c879c193a9ec209addf453 Reviewed-on: https://gerrit.libreoffice.org/64144 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx6
-rw-r--r--sc/source/filter/xml/xmltransformationi.cxx1
-rw-r--r--sc/source/filter/xml/xmltransformationi.hxx1
3 files changed, 1 insertions, 7 deletions
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<SCCOL> maColumns;