diff options
Diffstat (limited to 'oox/source/core/fastparser.cxx')
-rw-r--r-- | oox/source/core/fastparser.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/oox/source/core/fastparser.cxx b/oox/source/core/fastparser.cxx index ce0a6c0a89f9..4ce9d9f37cf7 100644 --- a/oox/source/core/fastparser.cxx +++ b/oox/source/core/fastparser.cxx @@ -63,7 +63,7 @@ InputStreamCloseGuard::~InputStreamCloseGuard() } // namespace -FastParser::FastParser() throw( RuntimeException ) : +FastParser::FastParser() : mrNamespaceMap( StaticNamespaceMap::get() ) { // create a fast parser instance @@ -80,7 +80,7 @@ FastParser::~FastParser() { } -void FastParser::registerNamespace( sal_Int32 nNamespaceId ) throw( IllegalArgumentException, RuntimeException ) +void FastParser::registerNamespace( sal_Int32 nNamespaceId ) { if( !mxParser.is() ) throw RuntimeException(); @@ -100,14 +100,14 @@ void FastParser::registerNamespace( sal_Int32 nNamespaceId ) throw( IllegalArgum } } -void FastParser::setDocumentHandler( const Reference< XFastDocumentHandler >& rxDocHandler ) throw( RuntimeException ) +void FastParser::setDocumentHandler( const Reference< XFastDocumentHandler >& rxDocHandler ) { if( !mxParser.is() ) throw RuntimeException(); mxParser->setFastDocumentHandler( rxDocHandler ); } -void FastParser::parseStream( const InputSource& rInputSource, bool bCloseStream ) throw( SAXException, IOException, RuntimeException, std::exception ) +void FastParser::parseStream( const InputSource& rInputSource, bool bCloseStream ) { // guard closing the input stream also when exceptions are thrown InputStreamCloseGuard aGuard( rInputSource.aInputStream, bCloseStream ); @@ -116,7 +116,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, std::exception ) +void FastParser::parseStream( const Reference< XInputStream >& rxInStream, const OUString& rStreamName ) { InputSource aInputSource; aInputSource.sSystemId = rStreamName; @@ -124,7 +124,7 @@ void FastParser::parseStream( const Reference< XInputStream >& rxInStream, const parseStream( aInputSource ); } -void FastParser::parseStream( StorageBase& rStorage, const OUString& rStreamName ) throw( SAXException, IOException, RuntimeException, std::exception ) +void FastParser::parseStream( StorageBase& rStorage, const OUString& rStreamName ) { parseStream( rStorage.openInputStream( rStreamName ), rStreamName ); } |