diff options
Diffstat (limited to 'vcl/source/filter/ixbm/xbmread.cxx')
-rw-r--r-- | vcl/source/filter/ixbm/xbmread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx index ff1eed9ebce1..6bf877ab80c3 100644 --- a/vcl/source/filter/ixbm/xbmread.cxx +++ b/vcl/source/filter/ixbm/xbmread.cxx @@ -40,7 +40,7 @@ XBMReader::~XBMReader() delete[] pHexTable; if( pAcc1 ) - aBmp1.ReleaseAccess( pAcc1 ); + Bitmap::ReleaseAccess( pAcc1 ); } void XBMReader::InitTable() @@ -319,7 +319,7 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic ) { Bitmap aBlackBmp( Size( pAcc1->Width(), pAcc1->Height() ), 1 ); - aBmp1.ReleaseAccess( pAcc1 ), pAcc1 = NULL; + Bitmap::ReleaseAccess( pAcc1 ), pAcc1 = NULL; aBlackBmp.Erase( Color( COL_BLACK ) ); rGraphic = BitmapEx( aBlackBmp, aBmp1 ); eReadState = XBMREAD_OK; |