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 /test/source | |
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 'test/source')
-rw-r--r-- | test/source/htmltesttools.cxx | 2 | ||||
-rw-r--r-- | test/source/mtfxmldump.cxx | 2 | ||||
-rw-r--r-- | test/source/primitive2dxmldump.cxx | 2 | ||||
-rw-r--r-- | test/source/xmltesttools.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/source/htmltesttools.cxx b/test/source/htmltesttools.cxx index 6907366bb29c..274166bde855 100644 --- a/test/source/htmltesttools.cxx +++ b/test/source/htmltesttools.cxx @@ -13,7 +13,7 @@ htmlDocPtr HtmlTestTools::parseHtml(utl::TempFile& aTempFile) { - SvFileStream aFileStream(aTempFile.GetURL(), STREAM_READ); + SvFileStream aFileStream(aTempFile.GetURL(), StreamMode::READ); htmlDocPtr doc = parseHtmlStream(&aFileStream); xmlFree(doc->name); doc->name = reinterpret_cast<char *>( diff --git a/test/source/mtfxmldump.cxx b/test/source/mtfxmldump.cxx index ee896581e48f..6e12524862a8 100644 --- a/test/source/mtfxmldump.cxx +++ b/test/source/mtfxmldump.cxx @@ -238,7 +238,7 @@ xmlDocPtr MetafileXmlDump::dumpAndParse(const GDIMetaFile& rMetaFile, const OUSt if (rTempStreamName.isEmpty()) pStream.reset(new SvMemoryStream()); else - pStream.reset(new SvFileStream(rTempStreamName, STREAM_STD_READWRITE | STREAM_TRUNC)); + pStream.reset(new SvFileStream(rTempStreamName, STREAM_STD_READWRITE | StreamMode::TRUNC)); XmlWriter aWriter(pStream.get()); aWriter.startDocument(); diff --git a/test/source/primitive2dxmldump.cxx b/test/source/primitive2dxmldump.cxx index 0fdf89642254..0af7c7c14c23 100644 --- a/test/source/primitive2dxmldump.cxx +++ b/test/source/primitive2dxmldump.cxx @@ -68,7 +68,7 @@ xmlDocPtr Primitive2dXmlDump::dumpAndParse( if (rTempStreamName.isEmpty()) pStream.reset(new SvMemoryStream()); else - pStream.reset(new SvFileStream(rTempStreamName, STREAM_STD_READWRITE | STREAM_TRUNC)); + pStream.reset(new SvFileStream(rTempStreamName, STREAM_STD_READWRITE | StreamMode::TRUNC)); XmlWriter aWriter(pStream.get()); aWriter.startDocument(); diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx index 4694570226b6..749e87e89cf2 100644 --- a/test/source/xmltesttools.cxx +++ b/test/source/xmltesttools.cxx @@ -36,7 +36,7 @@ XmlTestTools::~XmlTestTools() xmlDocPtr XmlTestTools::parseXml(utl::TempFile& aTempFile) { - SvFileStream aFileStream(aTempFile.GetURL(), STREAM_READ); + SvFileStream aFileStream(aTempFile.GetURL(), StreamMode::READ); return parseXmlStream(&aFileStream); } |