diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-29 20:13:43 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-12 14:18:46 +0200 |
commit | 6f9f1272a0f5f4e7e5ab745b2bd44071dbb5e810 (patch) | |
tree | 0528bf42cbee275e659b4900858c3571897d57bb /svl | |
parent | 27304ec7c2b6037cf0a24b7b671092c5353567ec (diff) |
nRepPos is never read
Change-Id: I6acb6517b6a62c59dff058e28a9e59342bb32510
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforscan.cxx | 3 | ||||
-rw-r--r-- | svl/source/numbers/zforscan.hxx | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index b539782e0f49..fb0ddef48812 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -649,7 +649,6 @@ short ImpSvNumberformatScan::Next_Symbol( const OUString& rStr, } const CharClass* pChrCls = pFormatter->GetCharClass(); const LocaleDataWrapper* pLoc = pFormatter->GetLocaleData(); - const sal_Int32 nStart = nPos; short eType = 0; ScanState eState = SsStart; sSymbol.clear(); @@ -866,7 +865,6 @@ short ImpSvNumberformatScan::Next_Symbol( const OUString& rStr, case SsGetStar: eState = SsStop; sSymbol += OUString(cToken); - nRepPos = (nPos - nStart) - 1; // every time > 0!! break; case SsGetBlank: eState = SsStop; @@ -1091,7 +1089,6 @@ void ImpSvNumberformatScan::Reset() nAnzStrings = 0; nAnzResStrings = 0; eScannedType = css::util::NumberFormat::UNDEFINED; - nRepPos = 0; bExp = false; bThousand = false; nThousand = 0; diff --git a/svl/source/numbers/zforscan.hxx b/svl/source/numbers/zforscan.hxx index 5f51edae1bd2..8a9b75ca91c6 100644 --- a/svl/source/numbers/zforscan.hxx +++ b/svl/source/numbers/zforscan.hxx @@ -167,7 +167,6 @@ private: // Private section sal_uInt16 nCntExp; // Counts exponent digits AM/PM // Internal info: sal_uInt16 nAnzStrings; // Symbol count - sal_uInt16 nRepPos; // Position of a '*' sal_uInt16 nExpPos; // Internal position of E sal_uInt16 nBlankPos; // Internal position of the Blank short nDecPos; // Internal position of the , |