summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_functions_conversion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_functions_conversion.cc')
-rw-r--r--kspread/kspread_functions_conversion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kspread/kspread_functions_conversion.cc b/kspread/kspread_functions_conversion.cc
index 42246838..dc15cddc 100644
--- a/kspread/kspread_functions_conversion.cc
+++ b/kspread/kspread_functions_conversion.cc
@@ -168,7 +168,7 @@ Value func_roman (valVector args, ValueCalc *calc, FuncExtra *)
if ((value < 0) || (value > 3999))
return Value::errorNA();
TQString result;
- result = TQString::tqfromLatin1 (RNThousands[(value / 1000)] +
+ result = TQString::fromLatin1 (RNThousands[(value / 1000)] +
RNHundreds[(value / 100) % 10] +
RNTens[(value / 10 ) % 10] +
RNUnits[(value) % 10]);