diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-09 09:34:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-09 09:36:19 +0000 |
commit | e21ef810e178e37f202e5ab8d0b582b24d5ce001 (patch) | |
tree | 8528604f7b65913c690c03ed7c2bcdfc6979cb60 /oox | |
parent | 80af87b0de526e06113a57f62f8f2284ecaaa45a (diff) |
crashtesting: unexpected exception on novell403458-1.pptx
since
commit 4bcf1872bbe9db1388769485a7e4c0cbcce3d53c
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
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/fastparser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/core/fastparser.cxx b/oox/source/core/fastparser.cxx index 5a9121d2820d..54b07b18102c 100644 --- a/oox/source/core/fastparser.cxx +++ b/oox/source/core/fastparser.cxx @@ -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 ); } |