diff options
Diffstat (limited to 'oox/source/core/filterdetect.cxx')
-rw-r--r-- | oox/source/core/filterdetect.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx index 11a60ca6408e..3fd557810d79 100644 --- a/oox/source/core/filterdetect.cxx +++ b/oox/source/core/filterdetect.cxx @@ -61,23 +61,23 @@ FilterDetectDocHandler::~FilterDetectDocHandler() } void SAL_CALL FilterDetectDocHandler::startDocument() - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { } void SAL_CALL FilterDetectDocHandler::endDocument() - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { } void SAL_CALL FilterDetectDocHandler::setDocumentLocator( const Reference<XLocator>& /*xLocator*/ ) - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { } void SAL_CALL FilterDetectDocHandler::startFastElement( sal_Int32 nElement, const Reference< XFastAttributeList >& rAttribs ) - throw (SAXException,RuntimeException) + throw (SAXException,RuntimeException, std::exception) { AttributeList aAttribs( rAttribs ); switch ( nElement ) @@ -107,37 +107,37 @@ void SAL_CALL FilterDetectDocHandler::startFastElement( void SAL_CALL FilterDetectDocHandler::startUnknownElement( const OUString& /*Namespace*/, const OUString& /*Name*/, const Reference<XFastAttributeList>& /*Attribs*/ ) - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { } void SAL_CALL FilterDetectDocHandler::endFastElement( sal_Int32 /*nElement*/ ) - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { maContextStack.pop_back(); } void SAL_CALL FilterDetectDocHandler::endUnknownElement( - const OUString& /*Namespace*/, const OUString& /*Name*/ ) throw (SAXException, RuntimeException) + const OUString& /*Namespace*/, const OUString& /*Name*/ ) throw (SAXException, RuntimeException, std::exception) { } Reference<XFastContextHandler> SAL_CALL FilterDetectDocHandler::createFastChildContext( sal_Int32 /*Element*/, const Reference<XFastAttributeList>& /*Attribs*/ ) - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { return this; } Reference<XFastContextHandler> SAL_CALL FilterDetectDocHandler::createUnknownChildContext( const OUString& /*Namespace*/, const OUString& /*Name*/, const Reference<XFastAttributeList>& /*Attribs*/) - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { return this; } void SAL_CALL FilterDetectDocHandler::characters( const OUString& /*aChars*/ ) - throw (SAXException, RuntimeException) + throw (SAXException, RuntimeException, std::exception) { } @@ -376,24 +376,24 @@ Reference< XInputStream > FilterDetect::extractUnencryptedPackage( MediaDescript // com.sun.star.lang.XServiceInfo interface ----------------------------------- -OUString SAL_CALL FilterDetect::getImplementationName() throw( RuntimeException ) +OUString SAL_CALL FilterDetect::getImplementationName() throw( RuntimeException, std::exception ) { return FilterDetect_getImplementationName(); } -sal_Bool SAL_CALL FilterDetect::supportsService( const OUString& rServiceName ) throw( RuntimeException ) +sal_Bool SAL_CALL FilterDetect::supportsService( const OUString& rServiceName ) throw( RuntimeException, std::exception ) { return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SAL_CALL FilterDetect::getSupportedServiceNames() throw( RuntimeException ) +Sequence< OUString > SAL_CALL FilterDetect::getSupportedServiceNames() throw( RuntimeException, std::exception ) { return FilterDetect_getSupportedServiceNames(); } // com.sun.star.document.XExtendedFilterDetection interface ------------------- -OUString SAL_CALL FilterDetect::detect( Sequence< PropertyValue >& rMediaDescSeq ) throw( RuntimeException ) +OUString SAL_CALL FilterDetect::detect( Sequence< PropertyValue >& rMediaDescSeq ) throw( RuntimeException, std::exception ) { OUString aFilterName; MediaDescriptor aMediaDescriptor( rMediaDescSeq ); |