summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-13 20:38:21 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-13 20:38:45 +0100
commit122d6c5e975cfbc03f55205a33d5d91e4cbc0906 (patch)
treefe699b524a63da63193042e85ba2f621c5db3aba /chart2/qa
parent637bf4e144b5af6a97832db489f8ad30a9b9938b (diff)
improve the error reporting
Change-Id: I9a1deacea6499bc0b15e3d9d1a375af299ecf493
Diffstat (limited to 'chart2/qa')
-rw-r--r--chart2/qa/extras/chart2export.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index 03f9136e19c3..8536e18ea378 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -90,6 +90,7 @@ xmlDocPtr Chart2ExportTest::parseExport(const OUString& rStreamName, const OUStr
// Read the XML stream we're interested in.
uno::Reference<packages::zip::XZipFileAccess2> xNameAccess = packages::zip::ZipFileAccess::createWithURL(comphelper::getComponentContext(m_xSFactory), aTempFile.GetURL());
uno::Reference<io::XInputStream> xInputStream(xNameAccess->getByName(rStreamName), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xInputStream.is());
boost::shared_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(xInputStream, sal_True));
pStream->Seek(STREAM_SEEK_TO_END);
sal_Size nSize = pStream->Tell();