From 7f8f277b94704a289fbbd1b836e4e5d66311580d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 7 Jan 2015 09:28:42 +0200 Subject: fdo#84938: convert STREAM_ #defines to 'enum class' Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e --- vcl/qa/cppunit/graphicfilter/filters-test.cxx | 2 +- vcl/qa/cppunit/wmf/wmfimporttest.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'vcl/qa') diff --git a/vcl/qa/cppunit/graphicfilter/filters-test.cxx b/vcl/qa/cppunit/graphicfilter/filters-test.cxx index 0b04dbf0e9ef..128010854289 100644 --- a/vcl/qa/cppunit/graphicfilter/filters-test.cxx +++ b/vcl/qa/cppunit/graphicfilter/filters-test.cxx @@ -55,7 +55,7 @@ bool VclFiltersTest::load(const OUString &, const OUString &rURL, const OUString &, unsigned int, unsigned int, unsigned int) { - SvFileStream aFileStream(rURL, STREAM_READ); + SvFileStream aFileStream(rURL, StreamMode::READ); Graphic aGraphic; return mGraphicFilter.ImportGraphic(aGraphic, rURL, aFileStream) == 0; } diff --git a/vcl/qa/cppunit/wmf/wmfimporttest.cxx b/vcl/qa/cppunit/wmf/wmfimporttest.cxx index 6e2e374fa7cb..f0d192c41a03 100644 --- a/vcl/qa/cppunit/wmf/wmfimporttest.cxx +++ b/vcl/qa/cppunit/wmf/wmfimporttest.cxx @@ -56,7 +56,7 @@ public: void WmfTest::testNonPlaceableWmf() { - SvFileStream aFileStream(getFullUrl("visio_import_source.wmf"), STREAM_READ); + SvFileStream aFileStream(getFullUrl("visio_import_source.wmf"), StreamMode::READ); GDIMetaFile aGDIMetaFile; ReadWindowMetafile(aFileStream, aGDIMetaFile); @@ -85,7 +85,7 @@ void WmfTest::testNonPlaceableWmf() void WmfTest::testSine() { - SvFileStream aFileStream(getFullUrl("sine_wave.emf"), STREAM_READ); + SvFileStream aFileStream(getFullUrl("sine_wave.emf"), StreamMode::READ); GDIMetaFile aGDIMetaFile; ReadWindowMetafile(aFileStream, aGDIMetaFile); @@ -109,7 +109,7 @@ void WmfTest::testSine() void WmfTest::testEmfProblem() { - SvFileStream aFileStream(getFullUrl("computer_mail.emf"), STREAM_READ); + SvFileStream aFileStream(getFullUrl("computer_mail.emf"), StreamMode::READ); GDIMetaFile aGDIMetaFile; ReadWindowMetafile(aFileStream, aGDIMetaFile); @@ -128,7 +128,7 @@ void WmfTest::testEmfProblem() void WmfTest::testWorldTransformFontSize() { - SvFileStream aFileStream(getFullUrl("image1.emf"), STREAM_READ); + SvFileStream aFileStream(getFullUrl("image1.emf"), StreamMode::READ); GDIMetaFile aGDIMetaFile; ReadWindowMetafile(aFileStream, aGDIMetaFile); -- cgit