summaryrefslogtreecommitdiffstats
path: root/test/source/unoapixml_test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/unoapixml_test.cxx')
-rw-r--r--test/source/unoapixml_test.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/source/unoapixml_test.cxx b/test/source/unoapixml_test.cxx
index 23dc826cbc..aa525f5075 100644
--- a/test/source/unoapixml_test.cxx
+++ b/test/source/unoapixml_test.cxx
@@ -33,4 +33,10 @@ xmlDocUniquePtr UnoApiXmlTest::parseExport(OUString const& rStreamName)
return pXmlDoc;
}
+xmlDocUniquePtr UnoApiXmlTest::parseExportedFile()
+{
+ auto stream(SvFileStream(maTempFile.GetURL(), StreamMode::READ | StreamMode::TEMPORARY));
+ return parseXmlStream(&stream);
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */