diff options
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r-- | cppuhelper/source/factory.cxx | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 2c086277015f..0a1e1252582f 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -83,29 +83,29 @@ public: // XInterface Any SAL_CALL queryInterface( const Type & rType ) - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; // XSingleServiceFactory Reference<XInterface > SAL_CALL createInstance() - throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; virtual Reference<XInterface > SAL_CALL createInstanceWithArguments(const Sequence<Any>& Arguments) - throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; // XSingleComponentFactory virtual Reference< XInterface > SAL_CALL createInstanceWithContext( Reference< XComponentContext > const & xContext ) - throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE; + throw (Exception, RuntimeException, std::exception) override; virtual Reference< XInterface > SAL_CALL createInstanceWithArgumentsAndContext( Sequence< Any > const & rArguments, Reference< XComponentContext > const & xContext ) - throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE; + throw (Exception, RuntimeException, std::exception) override; // XServiceInfo OUString SAL_CALL getImplementationName() - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; sal_Bool SAL_CALL supportsService(const OUString& ServiceName) - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; protected: /** @@ -272,40 +272,40 @@ public: // XInterface Any SAL_CALL queryInterface( const Type & rType ) - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - void SAL_CALL acquire() throw() SAL_OVERRIDE + throw(css::uno::RuntimeException, std::exception) override; + void SAL_CALL acquire() throw() override { OComponentHelper::acquire(); } - void SAL_CALL release() throw() SAL_OVERRIDE + void SAL_CALL release() throw() override { OComponentHelper::release(); } // XSingleServiceFactory Reference<XInterface > SAL_CALL createInstance() - throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; Reference<XInterface > SAL_CALL createInstanceWithArguments( const Sequence<Any>& Arguments ) - throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; // XSingleComponentFactory virtual Reference< XInterface > SAL_CALL createInstanceWithContext( Reference< XComponentContext > const & xContext ) - throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE; + throw (Exception, RuntimeException, std::exception) override; virtual Reference< XInterface > SAL_CALL createInstanceWithArgumentsAndContext( Sequence< Any > const & rArguments, Reference< XComponentContext > const & xContext ) - throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE; + throw (Exception, RuntimeException, std::exception) override; // XTypeProvider - virtual Sequence< Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual Sequence< Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) override; + virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(css::uno::RuntimeException, std::exception) override; // XAggregation Any SAL_CALL queryAggregation( const Type & rType ) - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; // XUnloadingPreference virtual sal_Bool SAL_CALL releaseOnNotification() - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; // OComponentHelper - void SAL_CALL dispose() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + void SAL_CALL dispose() throw(css::uno::RuntimeException, std::exception) override; private: Reference<XInterface > xTheInstance; @@ -484,49 +484,49 @@ public: // XInterface virtual Any SAL_CALL queryInterface( Type const & type ) - throw (RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL acquire() throw () SAL_OVERRIDE; - virtual void SAL_CALL release() throw () SAL_OVERRIDE; + throw (RuntimeException, std::exception) override; + virtual void SAL_CALL acquire() throw () override; + virtual void SAL_CALL release() throw () override; // XTypeProvider virtual Sequence< Type > SAL_CALL getTypes() - throw (RuntimeException, std::exception) SAL_OVERRIDE; + throw (RuntimeException, std::exception) override; // XPropertySet virtual Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() - throw (RuntimeException, std::exception) SAL_OVERRIDE; + throw (RuntimeException, std::exception) override; // OPropertySetHelper - virtual IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE; + virtual IPropertyArrayHelper & SAL_CALL getInfoHelper() override; virtual sal_Bool SAL_CALL convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, Any const & rValue ) - throw (lang::IllegalArgumentException) SAL_OVERRIDE; + throw (lang::IllegalArgumentException) override; virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, Any const & rValue ) - throw (Exception, std::exception) SAL_OVERRIDE; + throw (Exception, std::exception) override; using OPropertySetHelper::getFastPropertyValue; virtual void SAL_CALL getFastPropertyValue( - Any & rValue, sal_Int32 nHandle ) const SAL_OVERRIDE; + Any & rValue, sal_Int32 nHandle ) const override; // OSingleFactoryHelper Reference<XInterface > createInstanceEveryTime( Reference< XComponentContext > const & xContext ) - throw(css::uno::Exception, css::uno::RuntimeException) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException) override; // XSingleServiceFactory Reference<XInterface > SAL_CALL createInstanceWithArguments(const Sequence<Any>& Arguments) - throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; // XSingleComponentFactory Reference< XInterface > SAL_CALL createInstanceWithArgumentsAndContext( Sequence< Any > const & rArguments, Reference< XComponentContext > const & xContext ) - throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE; + throw (Exception, RuntimeException, std::exception) override; // XServiceInfo Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; // XUnloadingPreference sal_Bool SAL_CALL releaseOnNotification() - throw( RuntimeException, std::exception) SAL_OVERRIDE; + throw( RuntimeException, std::exception) override; private: @@ -882,20 +882,20 @@ public: // XSingleServiceFactory Reference<XInterface > SAL_CALL createInstance() - throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; Reference<XInterface > SAL_CALL createInstanceWithArguments(const Sequence<Any>& Arguments) - throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override; // XServiceInfo OUString SAL_CALL getImplementationName() - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; sal_Bool SAL_CALL supportsService(const OUString& ServiceName) - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; //XUnloadingPreference sal_Bool SAL_CALL releaseOnNotification() - throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw(css::uno::RuntimeException, std::exception) override; }; |