summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-16 14:03:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-21 08:58:55 +0200
commitf7a011c45b0b88cb3c3ea9206cb851375266523d (patch)
tree96c3af7c9e8a6b7d30a35b0057fd11aabf0ceec3 /sc/source/filter/excel
parent6e7e4d9f02f286ccb817cb2c1f54a951dcebffad (diff)
loplugin:unusedfields in sc
Change-Id: I04aee9574b97d6120fe20be97b2c0fb8187fb260 Reviewed-on: https://gerrit.libreoffice.org/54453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel')
-rw-r--r--sc/source/filter/excel/exctools.cxx2
-rw-r--r--sc/source/filter/excel/xeescher.cxx1
-rw-r--r--sc/source/filter/excel/xeextlst.cxx5
3 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/filter/excel/exctools.cxx b/sc/source/filter/excel/exctools.cxx
index 8531779412ae..97c5f97c24df 100644
--- a/sc/source/filter/excel/exctools.cxx
+++ b/sc/source/filter/excel/exctools.cxx
@@ -196,7 +196,7 @@ ExcScenario::ExcScenario( XclImpStream& rIn, const RootData& rR )
rIn.Ignore( 1 );
}
- aUserName = rIn.ReadUniString();
+ rIn.ReadUniString(); // username
if( nComment )
aComment = rIn.ReadUniString();
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index 4bd9db8ef79d..df36ba79d252 100644
--- a/sc/source/filter/excel/xeescher.cxx
+++ b/sc/source/filter/excel/xeescher.cxx
@@ -1183,7 +1183,6 @@ XclExpNote::XclExpNote(const XclExpRoot& rRoot, const ScAddress& rScPos,
}
// append additional text
aNoteText = ScGlobal::addToken( aNoteText, rAddText, '\n', 2 );
- maOrigNoteText = aNoteText;
// initialize record dependent on BIFF type
switch( rRoot.GetBiff() )
diff --git a/sc/source/filter/excel/xeextlst.cxx b/sc/source/filter/excel/xeextlst.cxx
index 0fa28198e2e2..9af26168c850 100644
--- a/sc/source/filter/excel/xeextlst.cxx
+++ b/sc/source/filter/excel/xeextlst.cxx
@@ -366,12 +366,11 @@ void XclExpExtConditionalFormatting::SaveXml( XclExpXmlStream& rStrm )
}
XclExpExtCalcPr::XclExpExtCalcPr( const XclExpRoot& rRoot, formula::FormulaGrammar::AddressConvention eConv ):
- XclExpExt( rRoot ),
- meConv( eConv )
+ XclExpExt( rRoot )
{
maURI = OString("{7626C862-2A13-11E5-B345-FEFF819CDC9F}");
- switch (meConv)
+ switch (eConv)
{
case formula::FormulaGrammar::CONV_OOO:
maSyntax = OString("CalcA1");