summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kolibs/koUnit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/3rdparty/kolibs/koUnit.cc')
-rw-r--r--kexi/3rdparty/kolibs/koUnit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/3rdparty/kolibs/koUnit.cc b/kexi/3rdparty/kolibs/koUnit.cc
index bd10e26e..506e24e1 100644
--- a/kexi/3rdparty/kolibs/koUnit.cc
+++ b/kexi/3rdparty/kolibs/koUnit.cc
@@ -155,7 +155,7 @@ double KoUnit::parseValue( TQString value, double defaultVal )
if( value.isEmpty() )
return defaultVal;
- int index = value.tqfind( TQRegExp( "[a-z]+$" ) );
+ int index = value.find( TQRegExp( "[a-z]+$" ) );
if ( index == -1 )
return value.toDouble();