diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-12 07:45:01 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-12 06:52:56 +0000 |
commit | ccc5ea08d64c38a9ce925d448c3010aca19ed35c (patch) | |
tree | e50c45ee596185f9a030641465796394c71ad410 /sc/source/filter/excel/excimp8.cxx | |
parent | 898aff0d190b09d16cce866909b64cf023cba43f (diff) |
cppcheck:variableScope
Change-Id: I037feb335499629300309851dcda3bb661f03d4f
Reviewed-on: https://gerrit.libreoffice.org/19316
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/filter/excel/excimp8.cxx')
-rw-r--r-- | sc/source/filter/excel/excimp8.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx index e1ecf4b0ab2c..73e02d7986dc 100644 --- a/sc/source/filter/excel/excimp8.cxx +++ b/sc/source/filter/excel/excimp8.cxx @@ -637,8 +637,7 @@ void XclImpAutoFilterData::ReadAutoFilter( sal_uInt8 nType, nOper, nBoolErr, nVal; sal_Int32 nRK; - double fVal; - bool bIgnore; + double fVal; sal_uInt8 nStrLen[2] = { 0, 0 }; ScQueryEntry aEntries[2]; @@ -647,7 +646,7 @@ void XclImpAutoFilterData::ReadAutoFilter( { ScQueryEntry& rEntry = aEntries[nE]; ScQueryEntry::Item& rItem = rEntry.GetQueryItem(); - bIgnore = false; + bool bIgnore = false; nType = rStrm.ReaduInt8(); nOper = rStrm.ReaduInt8(); |