diff options
Diffstat (limited to 'kspread/kspread_functions_text.cc')
-rw-r--r-- | kspread/kspread_functions_text.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/kspread_functions_text.cc b/kspread/kspread_functions_text.cc index 1f661d27..e61aff93 100644 --- a/kspread/kspread_functions_text.cc +++ b/kspread/kspread_functions_text.cc @@ -188,7 +188,7 @@ Value func_code (valVector args, ValueCalc *calc, FuncExtra *) if (str.length() <= 0) return Value::errorVALUE(); - return Value (str[0].tqunicode()); + return Value (str[0].unicode()); } // Function: COMPARE @@ -496,11 +496,11 @@ Value func_rot (valVector args, ValueCalc *calc, FuncExtra *) for( unsigned i=0; i<text.length(); i++ ) { - unsigned c = text[i].upper().tqunicode(); + unsigned c = text[i].upper().unicode(); if( ( c >= 'A' ) && ( c <= 'M' ) ) - text[i] = TQChar( text[i].tqunicode() + 13); + text[i] = TQChar( text[i].unicode() + 13); if( ( c >= 'N' ) && ( c <= 'Z' ) ) - text[i] = TQChar( text[i].tqunicode() - 13); + text[i] = TQChar( text[i].unicode() - 13); } return Value (text); |