diff options
Diffstat (limited to 'kimgio/jp2.cpp')
-rw-r--r-- | kimgio/jp2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kimgio/jp2.cpp b/kimgio/jp2.cpp index 7f66710bb..121e83287 100644 --- a/kimgio/jp2.cpp +++ b/kimgio/jp2.cpp @@ -163,7 +163,7 @@ kimgio_jp2_read( TQImageIO* io ) if( gs.altimage ) jas_image_destroy( gs.altimage ); io->setImage( image ); - io->seStatus( 0 ); + io->setqStatus( 0 ); } // kimgio_jp2_read @@ -291,7 +291,7 @@ kimgio_jp2_write( TQImageIO* io ) TQ_LONG size; // seek to the beginning of the file. - if( !in->at( 0 ) ) { delete ktempf; return; } + if( !in->tqat( 0 ) ) { delete ktempf; return; } // 0 or -1 is EOF / error while( ( size = in->readBlock( b.data(), 4096 ) ) > 0 ) { @@ -309,7 +309,7 @@ kimgio_jp2_write( TQImageIO* io ) // everything went fine - io->seStatus( IO_Ok ); + io->setqStatus( IO_Ok ); } // kimgio_jp2_write #endif // HAVE_JASPER |