summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoParagLayout.cpp')
-rw-r--r--lib/kotext/KoParagLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoParagLayout.cpp b/lib/kotext/KoParagLayout.cpp
index 129c4d4a..fd1a9453 100644
--- a/lib/kotext/KoParagLayout.cpp
+++ b/lib/kotext/KoParagLayout.cpp
@@ -488,7 +488,7 @@ void KoParagLayout::loadOasisParagLayout( KoParagLayout& tqlayout, KoOasisContex
tqlayout.lineSpacingType = KoParagLayout::LS_ONEANDHALF;
else if( value=="200%")
tqlayout.lineSpacingType = KoParagLayout::LS_DOUBLE;
- else if ( value.tqfind('%') > -1 )
+ else if ( value.find('%') > -1 )
{
value = value.remove( '%' );
double percent = value.toDouble();