chart2/qa/extras/chart2export.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 122d6c5e975cfbc03f55205a33d5d91e4cbc0906
Author: Markus Mohrhard <[email protected]>
Date:   Fri Dec 13 20:38:21 2013 +0100

    improve the error reporting
    
    Change-Id: I9a1deacea6499bc0b15e3d9d1a375af299ecf493

diff --git a/chart2/qa/extras/chart2export.cxx 
b/chart2/qa/extras/chart2export.cxx
index 03f9136..8536e18 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();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to