summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-07 09:28:42 +0200
committerNoel Grandin <noel@peralex.com>2015-01-07 11:20:44 +0200
commit7f8f277b94704a289fbbd1b836e4e5d66311580d (patch)
tree2400b7306a0a2a3ea63aee2e5bfc336b52102635 /vcl/qa
parent8db77209e0755d21d9efc34f70a2978d1df5d2c6 (diff)
fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/graphicfilter/filters-test.cxx2
-rw-r--r--vcl/qa/cppunit/wmf/wmfimporttest.cxx8
2 files changed, 5 insertions, 5 deletions
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);