diff options
Diffstat (limited to 'lib/kformula/styleelement.cc')
-rw-r--r-- | lib/kformula/styleelement.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kformula/styleelement.cc b/lib/kformula/styleelement.cc index de760453..3bb6b6b1 100644 --- a/lib/kformula/styleelement.cc +++ b/lib/kformula/styleelement.cc @@ -135,13 +135,13 @@ void StyleElement::writeMathMLAttributes( TQDomElement& element ) const if ( m_relativeScriptLevel && m_scriptLevel >= 0 ) { prefix = "+"; } - element.setAttribute( "scriptlevel", prefix + TQString( "%1" ).arg( m_scriptLevel ) ); + element.setAttribute( "scriptlevel", prefix + TQString( "%1" ).tqarg( m_scriptLevel ) ); } if ( m_customDisplayStyle ) { element.setAttribute( "displaystyle", m_displayStyle ? "true" : "false" ); } if ( m_customScriptSizeMultiplier ) { - element.setAttribute( "scriptsizemultiplier", TQString( "%1" ).arg( m_scriptSizeMultiplier ) ); + element.setAttribute( "scriptsizemultiplier", TQString( "%1" ).tqarg( m_scriptSizeMultiplier ) ); } writeSizeAttribute( element, "scriptminsize", m_scriptMinSizeType, m_scriptMinSize ); if ( m_customBackground ) { @@ -373,13 +373,13 @@ void StyleElement::writeSizeAttribute( TQDomElement element, const TQString& str { switch ( st ) { case AbsoluteSize: - element.setAttribute( str, TQString( "%1pt" ).arg( s ) ); + element.setAttribute( str, TQString( "%1pt" ).tqarg( s ) ); break; case RelativeSize: - element.setAttribute( str, TQString( "%1%" ).arg( s * 100.0 ) ); + element.setAttribute( str, TQString( "%1%" ).tqarg( s * 100.0 ) ); break; case PixelSize: - element.setAttribute( str, TQString( "%1px" ).arg( s ) ); + element.setAttribute( str, TQString( "%1px" ).tqarg( s ) ); break; default: break; |