summaryrefslogtreecommitdiff
path: root/sw/qa/unit
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/unit')
-rw-r--r--sw/qa/unit/swmodeltestbase.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/sw/qa/unit/swmodeltestbase.cxx b/sw/qa/unit/swmodeltestbase.cxx
index a526f4901331..ab5ed2fcbe52 100644
--- a/sw/qa/unit/swmodeltestbase.cxx
+++ b/sw/qa/unit/swmodeltestbase.cxx
@@ -694,20 +694,6 @@ xmlDocUniquePtr SwModelTestBase::parseExportedFile()
return parseXmlStream(&stream);
}
-std::unique_ptr<SvStream> SwModelTestBase::parseExportStream(const OUString& url,
- const OUString& rStreamName)
-{
- // Read the stream we're interested in.
- uno::Reference<packages::zip::XZipFileAccess2> xNameAccess
- = packages::zip::ZipFileAccess::createWithURL(comphelper::getComponentContext(m_xSFactory),
- url);
- uno::Reference<io::XInputStream> xInputStream(xNameAccess->getByName(rStreamName),
- uno::UNO_QUERY);
- CPPUNIT_ASSERT(xInputStream.is());
- std::unique_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(xInputStream, true));
- return pStream;
-}
-
xmlDocUniquePtr SwModelTestBase::parseExportInternal(const OUString& url,
const OUString& rStreamName)
{