diff options
Diffstat (limited to 'lib/kofficecore/KoUnit.cpp')
-rw-r--r-- | lib/kofficecore/KoUnit.cpp | 2 |
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(); |