Kaydet (Commit) 6f9f1272 authored tarafından Matteo Casalin's avatar Matteo Casalin

nRepPos is never read

Change-Id: I6acb6517b6a62c59dff058e28a9e59342bb32510
üst 27304ec7
...@@ -649,7 +649,6 @@ short ImpSvNumberformatScan::Next_Symbol( const OUString& rStr, ...@@ -649,7 +649,6 @@ short ImpSvNumberformatScan::Next_Symbol( const OUString& rStr,
} }
const CharClass* pChrCls = pFormatter->GetCharClass(); const CharClass* pChrCls = pFormatter->GetCharClass();
const LocaleDataWrapper* pLoc = pFormatter->GetLocaleData(); const LocaleDataWrapper* pLoc = pFormatter->GetLocaleData();
const sal_Int32 nStart = nPos;
short eType = 0; short eType = 0;
ScanState eState = SsStart; ScanState eState = SsStart;
sSymbol.clear(); sSymbol.clear();
...@@ -866,7 +865,6 @@ short ImpSvNumberformatScan::Next_Symbol( const OUString& rStr, ...@@ -866,7 +865,6 @@ short ImpSvNumberformatScan::Next_Symbol( const OUString& rStr,
case SsGetStar: case SsGetStar:
eState = SsStop; eState = SsStop;
sSymbol += OUString(cToken); sSymbol += OUString(cToken);
nRepPos = (nPos - nStart) - 1; // every time > 0!!
break; break;
case SsGetBlank: case SsGetBlank:
eState = SsStop; eState = SsStop;
...@@ -1091,7 +1089,6 @@ void ImpSvNumberformatScan::Reset() ...@@ -1091,7 +1089,6 @@ void ImpSvNumberformatScan::Reset()
nAnzStrings = 0; nAnzStrings = 0;
nAnzResStrings = 0; nAnzResStrings = 0;
eScannedType = css::util::NumberFormat::UNDEFINED; eScannedType = css::util::NumberFormat::UNDEFINED;
nRepPos = 0;
bExp = false; bExp = false;
bThousand = false; bThousand = false;
nThousand = 0; nThousand = 0;
......
...@@ -167,7 +167,6 @@ private: // Private section ...@@ -167,7 +167,6 @@ private: // Private section
sal_uInt16 nCntExp; // Counts exponent digits AM/PM sal_uInt16 nCntExp; // Counts exponent digits AM/PM
// Internal info: // Internal info:
sal_uInt16 nAnzStrings; // Symbol count sal_uInt16 nAnzStrings; // Symbol count
sal_uInt16 nRepPos; // Position of a '*'
sal_uInt16 nExpPos; // Internal position of E sal_uInt16 nExpPos; // Internal position of E
sal_uInt16 nBlankPos; // Internal position of the Blank sal_uInt16 nBlankPos; // Internal position of the Blank
short nDecPos; // Internal position of the , short nDecPos; // Internal position of the ,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment