diff options
Diffstat (limited to 'lib/kformula/styleelement.cc')
-rw-r--r-- | lib/kformula/styleelement.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kformula/styleelement.cc b/lib/kformula/styleelement.cc index 1a8f20ae..fc61386c 100644 --- a/lib/kformula/styleelement.cc +++ b/lib/kformula/styleelement.cc @@ -193,7 +193,7 @@ void StyleElement::setStyleSize( const ContextStyle& context, StyleAttributes& s // Get scriptminsize attribute in absolute units, so we don't depend on // context to get the default value - double basesize = context.tqlayoutUnitPtToPt( context.getBaseSize() ); + double basesize = context.layoutUnitPtToPt( context.getBaseSize() ); double size = style.scriptMinSize(); switch ( m_scriptMinSizeType ) { case AbsoluteSize: @@ -236,7 +236,7 @@ void StyleElement::setStyleSize( const ContextStyle& context, StyleAttributes& s double StyleElement::sizeFactor( const ContextStyle& context, SizeType st, double length, double defvalue ) { - double basesize = context.tqlayoutUnitPtToPt( context.getBaseSize() ); + double basesize = context.layoutUnitPtToPt( context.getBaseSize() ); switch ( st ) { case AbsoluteSize: return length / basesize; |