summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoUnit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoUnit.cpp')
-rw-r--r--lib/kofficecore/KoUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoUnit.cpp b/lib/kofficecore/KoUnit.cpp
index 51c634992..cc8823457 100644
--- a/lib/kofficecore/KoUnit.cpp
+++ b/lib/kofficecore/KoUnit.cpp
@@ -153,7 +153,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();