summaryrefslogtreecommitdiffstats
path: root/kspread/formula.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/formula.cc')
-rw-r--r--kspread/formula.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/formula.cc b/kspread/formula.cc
index 0f70feafb..fbcf8c0e5 100644
--- a/kspread/formula.cc
+++ b/kspread/formula.cc
@@ -134,7 +134,7 @@ Token::Op KSpread::matchOperator( const TQString& text )
if( text.length() == 1 )
{
TQChar p = text[0];
- switch( p.tqunicode() )
+ switch( p.unicode() )
{
case '+': result = Token::Plus; break;
case '-': result = Token::Minus; break;
@@ -355,7 +355,7 @@ void TokenStack::ensureSpace()
// helper function: return true for valid identifier character
bool KSpread::isIdentifier( TQChar ch )
{
- return ( ch.tqunicode() == '_' ) || (ch.tqunicode() == '$' ) || ( ch.isLetter() );
+ return ( ch.unicode() == '_' ) || (ch.unicode() == '$' ) || ( ch.isLetter() );
}
@@ -527,7 +527,7 @@ Tokens Formula::scan( const TQString& expr, KLocale* locale ) const
}
// aposthrophe (') marks sheet name for 3-d cell, e.g 'Sales Q3'!A4, or a named range
- else if ( ch.tqunicode() == '\'' )
+ else if ( ch.unicode() == '\'' )
{
i++;
state = InSheetOrAreaName;
@@ -680,7 +680,7 @@ Tokens Formula::scan( const TQString& expr, KLocale* locale ) const
case InSheetOrAreaName:
// consume until '
- if ( ch.tqunicode() != '\'' )
+ if ( ch.unicode() != '\'' )
tokenText.append( ex[i++] );
else