diff options
Diffstat (limited to 'basctl/source/basicide/unomodel.hxx')
-rw-r--r-- | basctl/source/basicide/unomodel.hxx | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx index baea50903f83..e4d92351347a 100644 --- a/basctl/source/basicide/unomodel.hxx +++ b/basctl/source/basicide/unomodel.hxx @@ -29,37 +29,31 @@ class SIDEModel : public SfxBaseModel, public com::sun::star::lang::XServiceInfo { /// @throws css::io::IOException - static void notImplemented() throw ( css::io::IOException ); + static void notImplemented(); public: explicit SIDEModel(SfxObjectShell *pObjSh = nullptr); virtual ~SIDEModel() override; //XInterface - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override; virtual void SAL_CALL acquire( ) throw() override; virtual void SAL_CALL release( ) throw() override; //XTypeProvider - virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override; //XServiceInfo - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // XStorable2 - virtual void SAL_CALL storeSelf( const css::uno::Sequence< css::beans::PropertyValue >& ) - throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::RuntimeException, std::exception) override { notImplemented(); } + virtual void SAL_CALL storeSelf( const css::uno::Sequence< css::beans::PropertyValue >& ) override { notImplemented(); } // XStorable - virtual void SAL_CALL store() throw (css::io::IOException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL store() override; virtual void SAL_CALL storeAsURL( const OUString& sURL, - const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) - throw (css::io::IOException, css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) override; virtual void SAL_CALL storeToURL( const OUString& sURL, - const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) - throw (css::io::IOException, css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::beans::PropertyValue >& seqArguments ) override; static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); static OUString getImplementationName_Static(); @@ -67,8 +61,7 @@ public: /// @throws com::sun::star::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL SIDEModel_createInstance( - const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) - throw( com::sun::star::uno::Exception ); + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ); } // namespace basctl |