diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-09-16 17:26:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-17 09:25:18 +0200 |
commit | 3d57e965d31a3bf2dc5fe5d9dc87d857f5149745 (patch) | |
tree | a58e8b4f138be2920b545784279c7f2c256188a7 /sc/source/filter/excel/excform.cxx | |
parent | 206b5b2661be37efdff3c6aedb6f248c4636be79 (diff) |
cppcheck: variableScope in sc
Change-Id: I9fe9c042a4990c6399765819f6b8e80c17dba9d2
Reviewed-on: https://gerrit.libreoffice.org/60551
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel/excform.cxx')
-rw-r--r-- | sc/source/filter/excel/excform.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx index 16bbe6a83585..57038e36bd2d 100644 --- a/sc/source/filter/excel/excform.cxx +++ b/sc/source/filter/excel/excform.cxx @@ -905,7 +905,6 @@ ConvErr ExcelToSc::Convert( ScRangeListTabs& rRangeList, XclImpStream& aIn, std: { RootData& rR = GetOldRoot(); sal_uInt8 nOp, nLen; - std::size_t nIgnore; bool bError = false; const bool bRangeName = eFT == FT_RangeName; const bool bSharedFormula = eFT == FT_SharedFormula; @@ -930,7 +929,7 @@ ConvErr ExcelToSc::Convert( ScRangeListTabs& rRangeList, XclImpStream& aIn, std: while( (aIn.GetRecPos() < nEndPos) && !bError ) { nOp = aIn.ReaduInt8(); - nIgnore = 0; + std::size_t nIgnore = 0; // always reset flags aSRD.InitFlags(); |