Kaydet (Commit) e21ef810 authored tarafından Caolán McNamara's avatar Caolán McNamara

crashtesting: unexpected exception on novell403458-1.pptx

since

commit 4bcf1872
Date:   Thu Oct 13 23:43:41 2016 +0200

    chartx: fix sparse chart import

because

- Matrix< Any > aMatrix( rDataSeq.maData.size(), 1 );
+ Matrix< Any > aMatrix( rDataSeq.mnPointCount, 1 );

where rDataSeq.mnPointCount is -1

Change-Id: I4bb4805dd81a342d4c0ce24e3240154daf53b452
üst 80af87b0
......@@ -74,19 +74,19 @@ public:
/** Parses the passed SAX input source.
@param bCloseStream True = closes the stream in the input source after parsing. */
void parseStream( const css::xml::sax::InputSource& rInputSource, bool bCloseStream = false )
throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException );
throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException, std::exception );
/** Parses the passed input stream.
@param bCloseStream True = closes the passed stream after parsing. */
void parseStream(
const css::uno::Reference< css::io::XInputStream >& rxInStream,
const OUString& rStreamName )
throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException );
throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException, std::exception );
/** Parses a stream from the passed storage with the specified name.
@param bCloseStream True = closes the stream after parsing. */
void parseStream( StorageBase& rStorage, const OUString& rStreamName )
throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException );
throw( css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException, std::exception );
const css::uno::Reference< css::xml::sax::XFastTokenHandler >&
getTokenHandler() const { return mxTokenHandler; }
......
......@@ -109,7 +109,7 @@ void FastParser::setDocumentHandler( const Reference< XFastDocumentHandler >& rx
mxParser->setFastDocumentHandler( rxDocHandler );
}
void FastParser::parseStream( const InputSource& rInputSource, bool bCloseStream ) throw( SAXException, IOException, RuntimeException )
void FastParser::parseStream( const InputSource& rInputSource, bool bCloseStream ) throw( SAXException, IOException, RuntimeException, std::exception )
{
// guard closing the input stream also when exceptions are thrown
InputStreamCloseGuard aGuard( rInputSource.aInputStream, bCloseStream );
......@@ -118,7 +118,7 @@ void FastParser::parseStream( const InputSource& rInputSource, bool bCloseStream
mxParser->parseStream( rInputSource );
}
void FastParser::parseStream( const Reference< XInputStream >& rxInStream, const OUString& rStreamName ) throw( SAXException, IOException, RuntimeException )
void FastParser::parseStream( const Reference< XInputStream >& rxInStream, const OUString& rStreamName ) throw( SAXException, IOException, RuntimeException, std::exception )
{
InputSource aInputSource;
aInputSource.sSystemId = rStreamName;
......@@ -126,7 +126,7 @@ void FastParser::parseStream( const Reference< XInputStream >& rxInStream, const
parseStream( aInputSource );
}
void FastParser::parseStream( StorageBase& rStorage, const OUString& rStreamName ) throw( SAXException, IOException, RuntimeException )
void FastParser::parseStream( StorageBase& rStorage, const OUString& rStreamName ) throw( SAXException, IOException, RuntimeException, std::exception )
{
parseStream( rStorage.openInputStream( rStreamName ), rStreamName );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment