summaryrefslogtreecommitdiff
path: root/filter/source/flash
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/flash')
-rw-r--r--filter/source/flash/swfexporter.cxx4
-rw-r--r--filter/source/flash/swfwriter.cxx4
-rw-r--r--filter/source/flash/swfwriter1.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx
index b2bc39b6ae1c..2d0feeb583d8 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -705,7 +705,7 @@ bool FlashExporter::getMetaFile( Reference< XComponent >&xComponent, GDIMetaFile
Graphic aGraphic;
GraphicFilter aFilter(false);
- aFilter.ImportGraphic( aGraphic, aFile.GetURL(), *aFile.GetStream( STREAM_READ ) );
+ aFilter.ImportGraphic( aGraphic, aFile.GetURL(), *aFile.GetStream( StreamMode::READ ) );
BitmapEx rBitmapEx( aGraphic.GetBitmap(), Color(255,255,255) );
Rectangle clipRect;
@@ -733,7 +733,7 @@ bool FlashExporter::getMetaFile( Reference< XComponent >&xComponent, GDIMetaFile
}
else
{
- rMtf.Read( *aFile.GetStream( STREAM_READ ) );
+ rMtf.Read( *aFile.GetStream( StreamMode::READ ) );
if(usesClipActions(rMtf))
{
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index ded932b424ac..4e2021264605 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -55,8 +55,8 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
maMovieTempFile.EnableKillingFile();
maFontsTempFile.EnableKillingFile();
- mpMovieStream = maMovieTempFile.GetStream( STREAM_WRITE|STREAM_TRUNC );
- mpFontsStream = maFontsTempFile.GetStream( STREAM_WRITE|STREAM_TRUNC );
+ mpMovieStream = maMovieTempFile.GetStream( StreamMode::WRITE|StreamMode::TRUNC );
+ mpFontsStream = maFontsTempFile.GetStream( StreamMode::WRITE|StreamMode::TRUNC );
mnFrames = 0;
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index e2c34c10f8ef..ba7c610a2c9e 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -1649,7 +1649,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
// the meta actions between the "XPATHFILL_SEQ_BEGIN" and "XPATHFILL_SEQ_END" comment.
SvtGraphicFill aFilling;
- SvMemoryStream aMemStm( (void*)pData, pA->GetDataSize(), STREAM_READ );
+ SvMemoryStream aMemStm( (void*)pData, pA->GetDataSize(), StreamMode::READ );
// read the fill info
ReadSvtGraphicFill( aMemStm, aFilling );
@@ -1679,7 +1679,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
// the meta actions between the "XPATHFILL_SEQ_BEGIN" and "XPATHFILL_SEQ_END" comment.
SvtGraphicStroke aStroke;
- SvMemoryStream aMemStm( (void*)pData, pA->GetDataSize(), STREAM_READ );
+ SvMemoryStream aMemStm( (void*)pData, pA->GetDataSize(), StreamMode::READ );
// read the fill info
ReadSvtGraphicStroke( aMemStm, aStroke );