summaryrefslogtreecommitdiff
path: root/svgio
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 /svgio
parent8db77209e0755d21d9efc34f70a2978d1df5d2c6 (diff)
fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
Diffstat (limited to 'svgio')
-rw-r--r--svgio/qa/cppunit/SvgImportTest.cxx2
-rw-r--r--svgio/source/svgreader/svgimagenode.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx
index b2ed826fe06d..00ebf9c005e3 100644
--- a/svgio/qa/cppunit/SvgImportTest.cxx
+++ b/svgio/qa/cppunit/SvgImportTest.cxx
@@ -56,7 +56,7 @@ Primitive2DSequence Test::parseSvg(const char* aSource)
OUString aUrl = getURLFromSrc(aSource);
OUString aPath = getPathFromSrc(aSource);
- SvFileStream aFileStream(aUrl, STREAM_READ);
+ SvFileStream aFileStream(aUrl, StreamMode::READ);
sal_Size nSize = aFileStream.remainingSize();
boost::scoped_array<sal_Int8> pBuffer(new sal_Int8[nSize + 1]);
aFileStream.Read(pBuffer.get(), nSize);
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx
index c81640f5b2e7..5423e3beafe3 100644
--- a/svgio/source/svgreader/svgimagenode.cxx
+++ b/svgio/source/svgreader/svgimagenode.cxx
@@ -217,7 +217,7 @@ namespace svgio
if(aPass.hasElements())
{
- SvMemoryStream aStream(aPass.getArray(), aPass.getLength(), STREAM_READ);
+ SvMemoryStream aStream(aPass.getArray(), aPass.getLength(), StreamMode::READ);
Graphic aGraphic;
if(GRFILTER_OK == GraphicFilter::GetGraphicFilter().ImportGraphic(