diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 12:52:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 14:33:36 +0000 |
commit | 9742d413638d27315d0904f72452f8f01fb617d1 (patch) | |
tree | fda37bb055457220c6b1d1c6bb7a196b126440ed /sc | |
parent | 68d9649f21e4e634737436aa96fe5b57aff5f781 (diff) |
coverity#737275 Uncaught exception
Change-Id: I4e1b0cfc50f044b9b66b573c374254fa74607244
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/appluno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index fc31813a15c5..8c0e77e322c1 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -319,7 +319,8 @@ uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNa } uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance( - const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception ) + const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) + throw( uno::Exception, std::exception ) { return (cppu::OWeakObject*)new ScXMLExport( comphelper::getComponentContext(rSMgr), ScXMLOOoExport_Settings_getImplementationName(), EXPORT_SETTINGS ); } diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx index 66873015835f..3a24d4f79b79 100644 --- a/sc/source/ui/unoobj/appluno.cxx +++ b/sc/source/ui/unoobj/appluno.cxx @@ -92,7 +92,8 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createI extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNames() throw(); extern OUString SAL_CALL ScXMLOOoExport_Settings_getImplementationName() throw(); extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance( - const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception ); + const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) + throw( uno::Exception, std::exception ); // Calc XML Oasis export extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() throw(); |