diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:52:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:15 +0100 |
commit | b36f675c5e13decbd3204c0e5e893a41e5653a72 (patch) | |
tree | 21239e676e490ab7b45273c2018a8d50c117227d /sc/inc/appluno.hxx | |
parent | 8870dec9a431eeff5045efd4ba12a2a70bad5e24 (diff) |
New loplugin:dynexcspec: Add @throws documentation, sc
Change-Id: Ieb01ae3f8c5d3010354027ea2c6e0a2cee176e7f
Diffstat (limited to 'sc/inc/appluno.hxx')
-rw-r--r-- | sc/inc/appluno.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx index 797178a85f42..221ce48b19e8 100644 --- a/sc/inc/appluno.hxx +++ b/sc/inc/appluno.hxx @@ -46,28 +46,34 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL // Calc document css::uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw(); OUString SAL_CALL ScDocument_getImplementationName() throw(); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL ScDocument_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr, SfxModelFlags _nCreationFlags ) throw( css::uno::Exception, std::exception ); // Calc XML import css::uno::Sequence< OUString > SAL_CALL ScXMLImport_getSupportedServiceNames() throw(); OUString SAL_CALL ScXMLImport_getImplementationName() throw(); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Meta_getSupportedServiceNames() throw(); OUString SAL_CALL ScXMLImport_Meta_getImplementationName() throw(); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Meta_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Styles_getSupportedServiceNames() throw(); OUString SAL_CALL ScXMLImport_Styles_getImplementationName() throw(); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Styles_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Content_getSupportedServiceNames() throw(); OUString SAL_CALL ScXMLImport_Content_getImplementationName() throw(); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Content_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Settings_getSupportedServiceNames() throw(); OUString SAL_CALL ScXMLImport_Settings_getImplementationName() throw(); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Settings_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); @@ -79,10 +85,14 @@ class ScSpreadsheetSettings : public cppu::WeakImplHelper< private: SfxItemPropertySet aPropSet; + /// @throws css::uno::RuntimeException bool getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int16 getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void setProperty(const OUString& aPropertyName, bool p1) throw (css::uno::RuntimeException) { setPropertyValue( aPropertyName, css::uno::Any(p1) ); } + /// @throws css::uno::RuntimeException void setProperty(const OUString& aPropertyName, sal_Int16 p1) throw (css::uno::RuntimeException) { setPropertyValue( aPropertyName, css::uno::Any(p1) ); } public: |