summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_functions_text.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /kspread/kspread_functions_text.cc
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kspread/kspread_functions_text.cc')
-rw-r--r--kspread/kspread_functions_text.cc8
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);