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 4e74211e8..2200c948c 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->setStatus( 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->tqat( 0 ) ) { delete ktempf; return; } + if( !in->at( 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->setStatus( IO_Ok ); } // kimgio_jp2_write #endif // HAVE_JASPER |