summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxprinter.cxx2
-rw-r--r--toolkit/source/helper/vclunohelper.cxx4
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 );
tdf#134610 sw: fix incorrect position of math object from DOCXMiklos Vajna 2020-07-22sw: find & replace: fix soft hyphen cleaningMiklos Vajna 2020-06-23tdf#119081 sw: fix RTF paste into outer table cellMiklos Vajna 2020-05-26tdf#130456 sw: enable semi-transparent text for char style dialogMiklos Vajna 2020-05-25Revert "tdf#104017 DOC export: be less aggressive with merging page styles"Justin Luth 2020-04-28tdf#131729 sw: handle no drawing objects when calculating overlap of objectsMiklos Vajna 2020-04-22sw: prefer ODF over RTF when pasting from WriterMiklos Vajna 2020-04-07tdf#131490 sw btlr: fix handling of vertical textMiklos Vajna 2020-03-20Extract testDisposedByDesktopTerminate from CppunitTest_sw_apitestsStephan Bergmann 2020-02-25tdf#91219 sw: don't allow anchoring a shape+textbox into itselfMiklos Vajna 2020-02-17Drop needless junit and python make conditionalsJan-Marek Glogowski 2020-02-14sw: fix handling of table vs fly overlaps in the AddVerticalFlyOffsets caseMiklos Vajna