diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 13:48:50 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 13:48:50 -0600 |
commit | f1ce972ed03ff76137fda623df7bb4336a8de7f0 (patch) | |
tree | b0ea81f715bbafa4e45b4b0dab5096499903388e /kspread/kspread_numformat.cc | |
parent | a4da7bd19a39ff723282c21ac2b8425f1480f1cf (diff) | |
download | koffice-f1ce972ed03ff76137fda623df7bb4336a8de7f0.tar.gz koffice-f1ce972ed03ff76137fda623df7bb4336a8de7f0.zip |
Fix unintended renaming
Diffstat (limited to 'kspread/kspread_numformat.cc')
-rw-r--r-- | kspread/kspread_numformat.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kspread/kspread_numformat.cc b/kspread/kspread_numformat.cc index e0962b96..e3a0bee7 100644 --- a/kspread/kspread_numformat.cc +++ b/kspread/kspread_numformat.cc @@ -103,7 +103,7 @@ namespace NumFormat_Local int leftSpace; int upReq; - int retqCounter; + int reqCounter; int reqFirst; int optFirst; @@ -149,7 +149,7 @@ namespace NumFormat_Local bool negBr; int optFirst; int reqFirst; - int retqCounter; + int reqCounter; int fraction; int fractionDigists; }; @@ -239,7 +239,7 @@ void resetGlobals() g_convertionInfo.showMinus = true; g_convertionInfo.negRed = false; g_convertionInfo.negBr = false; - g_convertionInfo.retqCounter = 0; + g_convertionInfo.reqCounter = 0; g_convertionInfo.reqFirst = 0; g_convertionInfo.prefix = ""; g_convertionInfo.postfix = ""; @@ -575,7 +575,7 @@ int doPreScan( TQString & format, TQString const & formatBack, TDELocale const * case '0': if ( spaceInNum > 0 ) { // for fractions - ++g_convertionInfo.retqCounter; + ++g_convertionInfo.reqCounter; break; } type = Number; @@ -640,7 +640,7 @@ int doPreScan( TQString & format, TQString const & formatBack, TDELocale const * df->negRed = g_convertionInfo.negRed; df->negBr = g_convertionInfo.negBr; df->fractionDigists = d; - df->retqCounter = g_convertionInfo.retqCounter; + df->reqCounter = g_convertionInfo.reqCounter; df->reqFirst = g_convertionInfo.reqFirst; df->prefix = g_convertionInfo.prefix; df->postfix = g_convertionInfo.postfix; @@ -1096,7 +1096,7 @@ void createFraction( TQString & result, Value const & value, TQString denominator; numerator = TQString::number( index ); - int n = numerator.length() - data->retqCounter; + int n = numerator.length() - data->reqCounter; for ( int i = 0; i < n; ++i ) { numerator.prepend( '0' ); |