diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-07 09:28:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-07 11:20:44 +0200 |
commit | 7f8f277b94704a289fbbd1b836e4e5d66311580d (patch) | |
tree | 2400b7306a0a2a3ea63aee2e5bfc336b52102635 /drawinglayer/source/tools/converters.cxx | |
parent | 8db77209e0755d21d9efc34f70a2978d1df5d2c6 (diff) |
fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
Diffstat (limited to 'drawinglayer/source/tools/converters.cxx')
-rw-r--r-- | drawinglayer/source/tools/converters.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index 0fbb6f9d8b1d..188bfa9f5327 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -102,7 +102,7 @@ namespace drawinglayer #ifdef DBG_UTIL if(bDoSaveForVisualControl) { - SvFileStream aNew(OUString("c:\\test_content.png"), STREAM_WRITE|STREAM_TRUNC); + SvFileStream aNew(OUString("c:\\test_content.png"), StreamMode::WRITE|StreamMode::TRUNC); ::vcl::PNGWriter aPNGWriter(aContent); aPNGWriter.Write(aNew); } @@ -132,7 +132,7 @@ namespace drawinglayer #ifdef DBG_UTIL if(bDoSaveForVisualControl) { - SvFileStream aNew(OUString("c:\\test_alpha.png"), STREAM_WRITE|STREAM_TRUNC); + SvFileStream aNew(OUString("c:\\test_alpha.png"), StreamMode::WRITE|StreamMode::TRUNC); ::vcl::PNGWriter aPNGWriter(aAlpha); aPNGWriter.Write(aNew); } @@ -143,7 +143,7 @@ namespace drawinglayer #ifdef DBG_UTIL if(bDoSaveForVisualControl) { - SvFileStream aNew(OUString("c:\\test_combined.png"), STREAM_WRITE|STREAM_TRUNC); + SvFileStream aNew(OUString("c:\\test_combined.png"), StreamMode::WRITE|StreamMode::TRUNC); ::vcl::PNGWriter aPNGWriter(aRetval); aPNGWriter.Write(aNew); } |