diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-08-27 10:18:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-27 12:06:15 +0000 |
commit | 33b38082ca63813f7c478945be198cc504efde4b (patch) | |
tree | 030eb240e231d855e477d985c3edc36304dd2914 /canvas/source | |
parent | 81a7aeb0806298c7a8571a46e09f485f3cf5ea13 (diff) |
put StreamMode masks in scope of enum class
Change-Id: I77682f7e289a59b986bb84edf014029a20266470
Reviewed-on: https://gerrit.libreoffice.org/28420
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/cairo/cairo_devicehelper.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/devicehelper.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/cairo/cairo_devicehelper.cxx b/canvas/source/cairo/cairo_devicehelper.cxx index 0400c2cc8761..d2ea8416a149 100644 --- a/canvas/source/cairo/cairo_devicehelper.cxx +++ b/canvas/source/cairo/cairo_devicehelper.cxx @@ -238,7 +238,7 @@ namespace cairocanvas { OUString aFilename = "dbg_frontbuffer" + OUString::number(nFilePostfixCount) + ".bmp"; - SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); + SvFileStream aStream( aFilename, StreamMode::STD_READWRITE ); const ::Point aEmptyPoint; bool bOldMap( mpRefDevice->IsMapModeEnabled() ); diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx index a833cd109576..7447cef2f2ad 100644 --- a/canvas/source/vcl/devicehelper.cxx +++ b/canvas/source/vcl/devicehelper.cxx @@ -203,7 +203,7 @@ namespace vclcanvas { OUString aFilename = "dbg_frontbuffer" + OUString::number(nFilePostfixCount) + ".bmp"; - SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); + SvFileStream aStream( aFilename, StreamMode::STD_READWRITE ); const ::Point aEmptyPoint; OutputDevice& rOutDev = mpOutDev->getOutDev(); diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx index ec0feeeb8273..2b484f8a3852 100644 --- a/canvas/source/vcl/spritedevicehelper.cxx +++ b/canvas/source/vcl/spritedevicehelper.cxx @@ -116,7 +116,7 @@ namespace vclcanvas { OUString aFilename = "dbg_backbuffer" + OUString::number(nFilePostfixCount) + ".bmp"; - SvFileStream aStream( aFilename, STREAM_STD_READWRITE ); + SvFileStream aStream( aFilename, StreamMode::STD_READWRITE ); const ::Point aEmptyPoint; mpBackBuffer->getOutDev().EnableMapMode( false ); |