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 /filter/qa | |
parent | remove unused FEATUREFLAG_ #defines (diff) | |
download | core-7f8f277b94704a289fbbd1b836e4e5d66311580d.tar.gz core-7f8f277b94704a289fbbd1b836e4e5d66311580d.zip |
fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/cppunit/filters-dxf-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-eps-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-met-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-pcd-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-pcx-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-pict-test.cxx | 4 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-ppm-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-psd-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-ras-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-tga-test.cxx | 2 | ||||
-rw-r--r-- | filter/qa/cppunit/filters-tiff-test.cxx | 2 |
11 files changed, 12 insertions, 12 deletions
diff --git a/filter/qa/cppunit/filters-dxf-test.cxx b/filter/qa/cppunit/filters-dxf-test.cxx index 336b6cd35899..1d78a6188954 100644 --- a/filter/qa/cppunit/filters-dxf-test.cxx +++ b/filter/qa/cppunit/filters-dxf-test.cxx @@ -52,7 +52,7 @@ bool DxfFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-eps-test.cxx b/filter/qa/cppunit/filters-eps-test.cxx index f291d113c315..2167281352b6 100644 --- a/filter/qa/cppunit/filters-eps-test.cxx +++ b/filter/qa/cppunit/filters-eps-test.cxx @@ -52,7 +52,7 @@ bool EpsFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-met-test.cxx b/filter/qa/cppunit/filters-met-test.cxx index b8fc340dffab..4e551d24e06a 100644 --- a/filter/qa/cppunit/filters-met-test.cxx +++ b/filter/qa/cppunit/filters-met-test.cxx @@ -52,7 +52,7 @@ bool MetFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-pcd-test.cxx b/filter/qa/cppunit/filters-pcd-test.cxx index 681dc7de641c..1658f4cf0c05 100644 --- a/filter/qa/cppunit/filters-pcd-test.cxx +++ b/filter/qa/cppunit/filters-pcd-test.cxx @@ -52,7 +52,7 @@ bool PcdFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-pcx-test.cxx b/filter/qa/cppunit/filters-pcx-test.cxx index 013d96de8208..92139b1ad664 100644 --- a/filter/qa/cppunit/filters-pcx-test.cxx +++ b/filter/qa/cppunit/filters-pcx-test.cxx @@ -52,7 +52,7 @@ bool PcxFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-pict-test.cxx b/filter/qa/cppunit/filters-pict-test.cxx index 0512b9b22287..35fed6162eec 100644 --- a/filter/qa/cppunit/filters-pict-test.cxx +++ b/filter/qa/cppunit/filters-pict-test.cxx @@ -66,7 +66,7 @@ bool PictFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } @@ -80,7 +80,7 @@ void PictFilterTest::testCVEs() void PictFilterTest::testDontClipTooMuch() { - SvFileStream aFileStream(pictURL() + "clipping-problem.pct", STREAM_READ); + SvFileStream aFileStream(pictURL() + "clipping-problem.pct", StreamMode::READ); GDIMetaFile aGDIMetaFile; pict::ReadPictFile(aFileStream, aGDIMetaFile); diff --git a/filter/qa/cppunit/filters-ppm-test.cxx b/filter/qa/cppunit/filters-ppm-test.cxx index 9b281abff231..9cdafcd9dbf1 100644 --- a/filter/qa/cppunit/filters-ppm-test.cxx +++ b/filter/qa/cppunit/filters-ppm-test.cxx @@ -52,7 +52,7 @@ bool PpmFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-psd-test.cxx b/filter/qa/cppunit/filters-psd-test.cxx index 95ab882d82e5..0da3a9fa4dc5 100644 --- a/filter/qa/cppunit/filters-psd-test.cxx +++ b/filter/qa/cppunit/filters-psd-test.cxx @@ -52,7 +52,7 @@ bool PsdFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-ras-test.cxx b/filter/qa/cppunit/filters-ras-test.cxx index a4862e6127dd..cbc7bdf1b288 100644 --- a/filter/qa/cppunit/filters-ras-test.cxx +++ b/filter/qa/cppunit/filters-ras-test.cxx @@ -52,7 +52,7 @@ bool RasFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-tga-test.cxx b/filter/qa/cppunit/filters-tga-test.cxx index 615afbbbba9d..207e9ce2fef8 100644 --- a/filter/qa/cppunit/filters-tga-test.cxx +++ b/filter/qa/cppunit/filters-tga-test.cxx @@ -52,7 +52,7 @@ bool TgaFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } diff --git a/filter/qa/cppunit/filters-tiff-test.cxx b/filter/qa/cppunit/filters-tiff-test.cxx index a37ed17225f0..2de6c8f7874d 100644 --- a/filter/qa/cppunit/filters-tiff-test.cxx +++ b/filter/qa/cppunit/filters-tiff-test.cxx @@ -52,7 +52,7 @@ bool TiffFilterTest::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 GraphicImport(aFileStream, aGraphic, NULL); } |