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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/kspread_functions_conversion.cc b/kspread/kspread_functions_conversion.cc
index 23f2ca01..42246838 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::fromLatin1 (RNThousands[(value / 1000)] +
+ result = TQString::tqfromLatin1 (RNThousands[(value / 1000)] +
RNHundreds[(value / 100) % 10] +
RNTens[(value / 10 ) % 10] +
RNUnits[(value) % 10]);
@@ -179,7 +179,7 @@ Value func_roman (valVector args, ValueCalc *calc, FuncExtra *)
// return < 0 if invalid
int func_arabic_helper (TQChar c)
{
- switch (c.upper().unicode())
+ switch (c.upper().tqunicode())
{
case 'M': return 1000;
case 'D': return 500;