diff options
Diffstat (limited to 'libkdepim/kxface.cpp')
-rw-r--r-- | libkdepim/kxface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdepim/kxface.cpp b/libkdepim/kxface.cpp index 9813da7cc..6af87cef9 100644 --- a/libkdepim/kxface.cpp +++ b/libkdepim/kxface.cpp @@ -86,7 +86,7 @@ KXFace::~KXFace() TQString KXFace::fromImage( const TQImage &image ) { if( image.isNull() ) - return TQString::null; + return TQString(); TQImage scaledImg = image.smoothScale( 48, 48 ); TQByteArray ba; @@ -94,8 +94,8 @@ TQString KXFace::fromImage( const TQImage &image ) buffer.open( IO_WriteOnly ); scaledImg.save( &buffer, "XBM" ); TQString xbm( ba ); - xbm.remove( 0, xbm.find( "{" ) + 1 ); - xbm.truncate( xbm.find( "}" ) ); + xbm.remove( 0, xbm.tqfind( "{" ) + 1 ); + xbm.truncate( xbm.tqfind( "}" ) ); xbm.remove( " " ); xbm.remove( "," ); xbm.remove( "0x" ); |