summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
Diffstat (limited to 'test/source')
-rw-r--r--test/source/htmltesttools.cxx2
-rw-r--r--test/source/mtfxmldump.cxx2
-rw-r--r--test/source/primitive2dxmldump.cxx2
-rw-r--r--test/source/xmltesttools.cxx2
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);
}