diff options
Diffstat (limited to 'kspread/valueconverter.cc')
-rw-r--r-- | kspread/valueconverter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/valueconverter.cc b/kspread/valueconverter.cc index 1aeb25db..8dda86d1 100644 --- a/kspread/valueconverter.cc +++ b/kspread/valueconverter.cc @@ -197,8 +197,8 @@ Value ValueConverter::asString (const Value &value) const //convert the number, change decimal point from English to local s = TQString::number (value.asFloat(), 'g', 10); decimal_point = parser->locale()->decimalSymbol()[0]; - if (decimal_point && ((pos = s.tqfind ('.')) != -1)) - s = s.tqreplace (pos, 1, decimal_point); + if (decimal_point && ((pos = s.find ('.')) != -1)) + s = s.replace (pos, 1, decimal_point); if (fmt == Value::fmt_Percent) s += " %"; val.setValue (s); |