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,
}
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;
......
......@@ -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 ,
......
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