diff options
Diffstat (limited to 'karbon/core/vgradient.cc')
-rw-r--r-- | karbon/core/vgradient.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karbon/core/vgradient.cc b/karbon/core/vgradient.cc index 60d89241..577d1373 100644 --- a/karbon/core/vgradient.cc +++ b/karbon/core/vgradient.cc @@ -208,10 +208,10 @@ VGradient::saveOasis( KoGenStyles &mainStyles ) const for( colorstop = colorStops.first(); colorstop; colorstop = colorStops.next() ) { elementWriter.startElement( "svg:stop" ); - elementWriter.addAttribute( "svg:offset", TQString( "%1" ).tqarg( colorstop->rampPoint ) ); + elementWriter.addAttribute( "svg:offset", TQString( "%1" ).arg( colorstop->rampPoint ) ); elementWriter.addAttribute( "svg:color", TQColor( colorstop->color ).name() ); if( colorstop->color.opacity() < 1 ) - elementWriter.addAttribute( "svg:stop-opacity", TQString( "%1" ).tqarg( colorstop->color.opacity() ) ); + elementWriter.addAttribute( "svg:stop-opacity", TQString( "%1" ).arg( colorstop->color.opacity() ) ); elementWriter.endElement(); } |