diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxprinter.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/helper/vclunohelper.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 32e2c20f6096..f62d53558c01 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -250,7 +250,7 @@ void VCLXPrinterPropertySet::setBinarySetup( const ::com::sun::star::uno::Sequen { ::osl::MutexGuard aGuard( Mutex ); - SvMemoryStream aMem( (char*) data.getConstArray(), data.getLength(), STREAM_READ ); + SvMemoryStream aMem( (char*) data.getConstArray(), data.getLength(), StreamMode::READ ); sal_uInt32 nMarker; aMem.ReadUInt32( nMarker ); DBG_ASSERT( nMarker == BINARYSETUPMARKER, "setBinarySetup - invalid!" ); diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index f8ab1e11f402..33e78de1c845 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -87,12 +87,12 @@ BitmapEx VCLUnoHelper::GetBitmap( const ::com::sun::star::uno::Reference< ::com: Bitmap aDIB, aMask; { ::com::sun::star::uno::Sequence<sal_Int8> aBytes = rxBitmap->getDIB(); - SvMemoryStream aMem( (char*) aBytes.getArray(), aBytes.getLength(), STREAM_READ ); + SvMemoryStream aMem( (char*) aBytes.getArray(), aBytes.getLength(), StreamMode::READ ); ReadDIB(aDIB, aMem, true); } { ::com::sun::star::uno::Sequence<sal_Int8> aBytes = rxBitmap->getMaskDIB(); - SvMemoryStream aMem( (char*) aBytes.getArray(), aBytes.getLength(), STREAM_READ ); + SvMemoryStream aMem( (char*) aBytes.getArray(), aBytes.getLength(), StreamMode::READ ); ReadDIB(aMask, aMem, true); } aBmp = BitmapEx( aDIB, aMask ); |