summaryrefslogtreecommitdiffstats
path: root/lib/kotext/IsoDuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/IsoDuration.h')
-rw-r--r--lib/kotext/IsoDuration.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/IsoDuration.h b/lib/kotext/IsoDuration.h
index c0f8fd6f..ee1cdfb9 100644
--- a/lib/kotext/IsoDuration.h
+++ b/lib/kotext/IsoDuration.h
@@ -31,7 +31,7 @@ static TQString minutesToISODuration( int mn )
{
bool neg = mn < 0;
// PT == period of time - see ISO8601
- TQString str = TQString::fromLatin1( "PT00H%1M00S" ).tqarg( TQABS( mn ) );
+ TQString str = TQString::fromLatin1( "PT00H%1M00S" ).arg( TQABS( mn ) );
if ( neg )
str.prepend( '-' );
return str;
@@ -41,7 +41,7 @@ static TQString daysToISODuration( int days )
{
bool neg = days < 0;
// P == period, time is ommitted - see ISO8601
- TQString str = TQString::fromLatin1( "P%1D" ).tqarg( TQABS( days ) );
+ TQString str = TQString::fromLatin1( "P%1D" ).arg( TQABS( days ) );
if ( neg )
str.prepend( '-' );
return str;