summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /cppuhelper
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx2
-rw-r--r--cppuhelper/source/component_context.cxx24
-rw-r--r--cppuhelper/source/exc_thrower.cxx10
-rw-r--r--cppuhelper/source/factory.cxx80
-rw-r--r--cppuhelper/source/macro_expander.cxx10
-rw-r--r--cppuhelper/source/propertysetmixin.cxx6
-rw-r--r--cppuhelper/source/propshlp.cxx6
-rw-r--r--cppuhelper/source/servicemanager.cxx22
-rw-r--r--cppuhelper/source/servicemanager.hxx54
-rw-r--r--cppuhelper/source/tdmgr.cxx2
-rw-r--r--cppuhelper/source/typemanager.cxx254
-rw-r--r--cppuhelper/source/typemanager.hxx26
-rw-r--r--cppuhelper/source/weak.cxx20
13 files changed, 258 insertions, 258 deletions
diff --git a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
index 92453c99608d..3efd35da8ee5 100644
--- a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
+++ b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
@@ -50,7 +50,7 @@ public:
: m_pStats(pStats) { m_pStats->m_nAlive++; }
virtual ~ContainerListener() { m_pStats->m_nAlive--; }
virtual void SAL_CALL disposing( const EventObject& )
- throw (RuntimeException, std::exception)
+ throw (RuntimeException, std::exception) SAL_OVERRIDE
{
m_pStats->m_nDisposed++;
}
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 1e54448a3bc8..15bcc6f08c47 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -303,7 +303,7 @@ public:
SAL_THROW( (RuntimeException) );
virtual void SAL_CALL disposing( lang::EventObject const & rSource )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
};
inline void DisposingForwarder::listen(
@@ -359,7 +359,7 @@ protected:
Any lookupMap( OUString const & rName )
SAL_THROW( (RuntimeException) );
- virtual void SAL_CALL disposing();
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
public:
ComponentContext(
ContextEntry_Init const * pEntries, sal_Int32 nEntries,
@@ -369,34 +369,34 @@ public:
// XComponentContext
virtual Any SAL_CALL getValueByName( OUString const & rName )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual Reference<lang::XMultiComponentFactory> SAL_CALL getServiceManager()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XNameContainer
virtual void SAL_CALL insertByName(
OUString const & name, Any const & element )
throw (lang::IllegalArgumentException, container::ElementExistException,
- lang::WrappedTargetException, RuntimeException, std::exception);
+ lang::WrappedTargetException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL removeByName( OUString const & name )
throw (container::NoSuchElementException,
- lang::WrappedTargetException, RuntimeException, std::exception);
+ lang::WrappedTargetException, RuntimeException, std::exception) SAL_OVERRIDE;
// XNameReplace
virtual void SAL_CALL replaceByName(
OUString const & name, Any const & element )
throw (lang::IllegalArgumentException,container::NoSuchElementException,
- lang::WrappedTargetException, RuntimeException, std::exception);
+ lang::WrappedTargetException, RuntimeException, std::exception) SAL_OVERRIDE;
// XNameAccess
virtual Any SAL_CALL getByName( OUString const & name )
throw (container::NoSuchElementException,
- lang::WrappedTargetException, RuntimeException, std::exception);
+ lang::WrappedTargetException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual Sequence<OUString> SAL_CALL getElementNames()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasByName( OUString const & name )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XElementAccess
- virtual Type SAL_CALL getElementType() throw (RuntimeException, std::exception);
- virtual sal_Bool SAL_CALL hasElements() throw (RuntimeException, std::exception);
+ virtual Type SAL_CALL getElementType() throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasElements() throw (RuntimeException, std::exception) SAL_OVERRIDE;
};
// XNameContainer
diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx
index 2807487da920..ab7cc8e48c7c 100644
--- a/cppuhelper/source/exc_thrower.cxx
+++ b/cppuhelper/source/exc_thrower.cxx
@@ -55,13 +55,13 @@ struct ExceptionThrower : public uno_Interface, XExceptionThrower
// XInterface
virtual Any SAL_CALL queryInterface( Type const & type )
- throw (RuntimeException, std::exception);
- virtual void SAL_CALL acquire() throw ();
- virtual void SAL_CALL release() throw ();
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL acquire() throw () SAL_OVERRIDE;
+ virtual void SAL_CALL release() throw () SAL_OVERRIDE;
// XExceptionThrower
- virtual void SAL_CALL throwException( Any const & exc ) throw (Exception, std::exception);
- virtual void SAL_CALL rethrowException() throw (Exception, std::exception);
+ virtual void SAL_CALL throwException( Any const & exc ) throw (Exception, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL rethrowException() throw (Exception, std::exception) SAL_OVERRIDE;
};
extern "C"
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index b163dd033aec..b3d89bd1c191 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -95,29 +95,29 @@ public:
// XInterface
Any SAL_CALL queryInterface( const Type & rType )
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XSingleServiceFactory
Reference<XInterface > SAL_CALL createInstance()
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual Reference<XInterface > SAL_CALL createInstanceWithArguments(const Sequence<Any>& Arguments)
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XSingleComponentFactory
virtual Reference< XInterface > SAL_CALL createInstanceWithContext(
Reference< XComponentContext > const & xContext )
- throw (Exception, RuntimeException, std::exception);
+ throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE;
virtual Reference< XInterface > SAL_CALL createInstanceWithArgumentsAndContext(
Sequence< Any > const & rArguments,
Reference< XComponentContext > const & xContext )
- throw (Exception, RuntimeException, std::exception);
+ throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
OUString SAL_CALL getImplementationName()
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
Sequence< OUString > SAL_CALL getSupportedServiceNames(void)
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
/**
@@ -285,40 +285,40 @@ public:
// XInterface
Any SAL_CALL queryInterface( const Type & rType )
- throw(::com::sun::star::uno::RuntimeException, std::exception);
- void SAL_CALL acquire() throw()
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ void SAL_CALL acquire() throw() SAL_OVERRIDE
{ OComponentHelper::acquire(); }
- void SAL_CALL release() throw()
+ void SAL_CALL release() throw() SAL_OVERRIDE
{ OComponentHelper::release(); }
// XSingleServiceFactory
Reference<XInterface > SAL_CALL createInstance()
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
Reference<XInterface > SAL_CALL createInstanceWithArguments( const Sequence<Any>& Arguments )
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XSingleComponentFactory
virtual Reference< XInterface > SAL_CALL createInstanceWithContext(
Reference< XComponentContext > const & xContext )
- throw (Exception, RuntimeException, std::exception);
+ throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE;
virtual Reference< XInterface > SAL_CALL createInstanceWithArgumentsAndContext(
Sequence< Any > const & rArguments,
Reference< XComponentContext > const & xContext )
- throw (Exception, RuntimeException, std::exception);
+ throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE;
// XTypeProvider
- virtual Sequence< Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual Sequence< Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAggregation
Any SAL_CALL queryAggregation( const Type & rType )
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XUnloadingPreference
virtual sal_Bool SAL_CALL releaseOnNotification()
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OComponentHelper
- void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException, std::exception);
+ void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
Reference<XInterface > xTheInstance;
@@ -497,49 +497,49 @@ public:
// XInterface
virtual Any SAL_CALL queryInterface( Type const & type )
- throw (RuntimeException, std::exception);
- virtual void SAL_CALL acquire() throw ();
- virtual void SAL_CALL release() throw ();
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL acquire() throw () SAL_OVERRIDE;
+ virtual void SAL_CALL release() throw () SAL_OVERRIDE;
// XTypeProvider
virtual Sequence< Type > SAL_CALL getTypes()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// XPropertySet
virtual Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
// OPropertySetHelper
- virtual IPropertyArrayHelper & SAL_CALL getInfoHelper();
+ virtual IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;
virtual sal_Bool SAL_CALL convertFastPropertyValue(
Any & rConvertedValue, Any & rOldValue,
sal_Int32 nHandle, Any const & rValue )
- throw (lang::IllegalArgumentException);
+ throw (lang::IllegalArgumentException) SAL_OVERRIDE;
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle, Any const & rValue )
- throw (Exception, std::exception);
+ throw (Exception, std::exception) SAL_OVERRIDE;
using OPropertySetHelper::getFastPropertyValue;
virtual void SAL_CALL getFastPropertyValue(
- Any & rValue, sal_Int32 nHandle ) const;
+ Any & rValue, sal_Int32 nHandle ) const SAL_OVERRIDE;
// OSingleFactoryHelper
Reference<XInterface > createInstanceEveryTime(
Reference< XComponentContext > const & xContext )
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XSingleServiceFactory
Reference<XInterface > SAL_CALL createInstanceWithArguments(const Sequence<Any>& Arguments)
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XSingleComponentFactory
Reference< XInterface > SAL_CALL createInstanceWithArgumentsAndContext(
Sequence< Any > const & rArguments,
Reference< XComponentContext > const & xContext )
- throw (Exception, RuntimeException, std::exception);
+ throw (Exception, RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
Sequence< OUString > SAL_CALL getSupportedServiceNames(void)
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XUnloadingPreference
sal_Bool SAL_CALL releaseOnNotification()
- throw( RuntimeException, std::exception);
+ throw( RuntimeException, std::exception) SAL_OVERRIDE;
private:
@@ -900,20 +900,20 @@ public:
// XSingleServiceFactory
Reference<XInterface > SAL_CALL createInstance()
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
Reference<XInterface > SAL_CALL createInstanceWithArguments(const Sequence<Any>& Arguments)
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
OUString SAL_CALL getImplementationName()
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
Sequence< OUString > SAL_CALL getSupportedServiceNames(void)
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XUnloadingPreference
sal_Bool SAL_CALL releaseOnNotification()
- throw(::com::sun::star::uno::RuntimeException, std::exception);
+ throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx
index 4bb7aa96368e..f215c2a84d5e 100644
--- a/cppuhelper/source/macro_expander.cxx
+++ b/cppuhelper/source/macro_expander.cxx
@@ -123,7 +123,7 @@ struct mutex_holder
class Bootstrap_MacroExpander : public mutex_holder, public t_uno_impl
{
protected:
- virtual void SAL_CALL disposing();
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
public:
inline Bootstrap_MacroExpander() SAL_THROW(())
@@ -134,14 +134,14 @@ public:
// XMacroExpander impl
virtual OUString SAL_CALL expandMacros( OUString const & exp )
- throw (lang::IllegalArgumentException, std::exception);
+ throw (lang::IllegalArgumentException, std::exception) SAL_OVERRIDE;
// XServiceInfo impl
virtual OUString SAL_CALL getImplementationName()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
};
diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx
index 97bdc3f53ff7..cea90f5dc554 100644
--- a/cppuhelper/source/propertysetmixin.cxx
+++ b/cppuhelper/source/propertysetmixin.cxx
@@ -283,15 +283,15 @@ public:
explicit Info(Data * data): m_data(data) {}
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::beans::Property SAL_CALL getPropertyByName(
rtl::OUString const & name)
throw (
- css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception);
+ css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasPropertyByName(rtl::OUString const & name)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
rtl::Reference< Data > m_data;
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 4340708edd1e..41572136fad3 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -77,9 +77,9 @@ public:
OPropertySetHelperInfo_Impl( IPropertyArrayHelper & rHelper_ ) SAL_THROW(());
// XPropertySetInfo-methods
- virtual Sequence< Property > SAL_CALL getProperties(void) throw(::com::sun::star::uno::RuntimeException, std::exception);
- virtual Property SAL_CALL getPropertyByName(const OUString& PropertyName) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception);
- virtual sal_Bool SAL_CALL hasPropertyByName(const OUString& PropertyName) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual Sequence< Property > SAL_CALL getProperties(void) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual Property SAL_CALL getPropertyByName(const OUString& PropertyName) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasPropertyByName(const OUString& PropertyName) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index 2ef9dfbaf1db..6a0543c1286d 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -479,12 +479,12 @@ private:
virtual ~ContentEnumeration() {}
virtual sal_Bool SAL_CALL hasMoreElements()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL nextElement()
throw (
css::container::NoSuchElementException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
osl::Mutex mutex_;
std::vector< css::uno::Any > factories_;
@@ -538,13 +538,13 @@ private:
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithContext(
css::uno::Reference< css::uno::XComponentContext > const & Context)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArgumentsAndContext(
css::uno::Sequence< css::uno::Any > const & Arguments,
css::uno::Reference< css::uno::XComponentContext > const & Context)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::ServiceManager > manager_;
boost::shared_ptr< cppuhelper::ServiceManager::Data::Implementation >
@@ -592,30 +592,30 @@ private:
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithContext(
css::uno::Reference< css::uno::XComponentContext > const & Context)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArgumentsAndContext(
css::uno::Sequence< css::uno::Any > const & Arguments,
css::uno::Reference< css::uno::XComponentContext > const & Context)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
- createInstance() throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ createInstance() throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArguments(
css::uno::Sequence< css::uno::Any > const & Arguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception);
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::ServiceManager > manager_;
boost::shared_ptr< cppuhelper::ServiceManager::Data::Implementation >
diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx
index d4f9d7b0beca..644fc21969f0 100644
--- a/cppuhelper/source/servicemanager.hxx
+++ b/cppuhelper/source/servicemanager.hxx
@@ -206,70 +206,70 @@ public:
private:
virtual ~ServiceManager() {}
- virtual void SAL_CALL disposing();
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception);
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(
rtl::OUString const & aServiceSpecifier)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArguments(
rtl::OUString const & ServiceSpecifier,
css::uno::Sequence< css::uno::Any > const & Arguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getAvailableServiceNames() throw (css::uno::RuntimeException, std::exception);
+ getAvailableServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithContext(
rtl::OUString const & aServiceSpecifier,
css::uno::Reference< css::uno::XComponentContext > const & Context)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArgumentsAndContext(
rtl::OUString const & ServiceSpecifier,
css::uno::Sequence< css::uno::Any > const & Arguments,
css::uno::Reference< css::uno::XComponentContext > const & Context)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
+ throw (css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Type SAL_CALL getElementType()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
- createEnumeration() throw (css::uno::RuntimeException, std::exception);
+ createEnumeration() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL has(css::uno::Any const & aElement)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL insert(css::uno::Any const & aElement)
throw (
css::lang::IllegalArgumentException,
- css::container::ElementExistException, css::uno::RuntimeException, std::exception);
+ css::container::ElementExistException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL remove(css::uno::Any const & aElement)
throw (
css::lang::IllegalArgumentException,
- css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
+ css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createContentEnumeration(rtl::OUString const & aServiceName)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
- getPropertySetInfo() throw (css::uno::RuntimeException, std::exception);
+ getPropertySetInfo() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setPropertyValue(
rtl::OUString const & aPropertyName, css::uno::Any const & aValue)
@@ -277,13 +277,13 @@ private:
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL getPropertyValue(
rtl::OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL addPropertyChangeListener(
rtl::OUString const & aPropertyName,
@@ -291,7 +291,7 @@ private:
xListener)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL removePropertyChangeListener(
rtl::OUString const & aPropertyName,
@@ -299,7 +299,7 @@ private:
aListener)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL addVetoableChangeListener(
rtl::OUString const & PropertyName,
@@ -307,7 +307,7 @@ private:
aListener)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL removeVetoableChangeListener(
rtl::OUString const & PropertyName,
@@ -315,21 +315,21 @@ private:
aListener)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::beans::Property SAL_CALL getPropertyByName(
rtl::OUString const & aName)
throw (
- css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception);
+ css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasPropertyByName(rtl::OUString const & Name)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL disposing(css::lang::EventObject const & Source)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// needs to be called with rBHelper.rMutex locked:
bool isDisposed() { return rBHelper.bDisposed || rBHelper.bInDispose; }
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx
index 69dc920733f9..2e94ac6c7ed2 100644
--- a/cppuhelper/source/tdmgr.cxx
+++ b/cppuhelper/source/tdmgr.cxx
@@ -626,7 +626,7 @@ public:
// XEventListener
virtual void SAL_CALL disposing( lang::EventObject const & rEvt )
- throw (RuntimeException, std::exception);
+ throw (RuntimeException, std::exception) SAL_OVERRIDE;
};
void EventListenerImpl::disposing( lang::EventObject const & rEvt )
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index d6d408f22574..e3e38e5669bd 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -92,10 +92,10 @@ private:
virtual ~SimpleTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return typeClass_; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
css::uno::TypeClass typeClass_;
@@ -116,14 +116,14 @@ private:
virtual ~SequenceTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_SEQUENCE; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getReferencedType() throw (css::uno::RuntimeException, std::exception)
+ getReferencedType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(componentType_); }
rtl::Reference< cppuhelper::TypeManager > manager_;
@@ -140,7 +140,7 @@ protected:
virtual ~PublishableDescription() {}
private:
- virtual sal_Bool SAL_CALL isPublished() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Bool SAL_CALL isPublished() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return published_; }
bool published_;
@@ -161,16 +161,16 @@ private:
virtual ~ModuleDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_MODULE; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getMembers() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMembers() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
rtl::OUString name_;
@@ -213,21 +213,21 @@ private:
virtual ~EnumTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_ENUM; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual sal_Int32 SAL_CALL getDefaultEnumValue()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return entity_->getMembers()[0].value; }
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getEnumNames()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getEnumValues()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::OUString name_;
rtl::Reference< unoidl::EnumTypeEntity > entity_;
@@ -275,14 +275,14 @@ private:
virtual ~PlainStructTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_STRUCT; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getBaseType() throw (css::uno::RuntimeException, std::exception) {
+ getBaseType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return entity_->getDirectBase().isEmpty()
? css::uno::Reference< css::reflection::XTypeDescription >()
: manager_->resolve(entity_->getDirectBase());
@@ -291,19 +291,19 @@ private:
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getMemberNames()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getTypeParameters()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::Sequence< rtl::OUString >(); }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getTypeArguments() throw (css::uno::RuntimeException, std::exception) {
+ SAL_CALL getTypeArguments() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >();
}
@@ -351,10 +351,10 @@ private:
virtual ~ParameterizedMemberTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_UNKNOWN; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return typeParameterName_; }
rtl::OUString typeParameterName_;
@@ -381,31 +381,31 @@ private:
virtual ~PolymorphicStructTypeTemplateDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_STRUCT; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getBaseType() throw (css::uno::RuntimeException, std::exception)
+ getBaseType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::Reference< css::reflection::XTypeDescription >(); }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getMemberNames()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getTypeParameters()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getTypeArguments() throw (css::uno::RuntimeException, std::exception) {
+ SAL_CALL getTypeArguments() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >();
}
@@ -479,32 +479,32 @@ private:
virtual ~InstantiatedPolymorphicStructTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_STRUCT; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getBaseType() throw (css::uno::RuntimeException, std::exception)
+ getBaseType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::Reference< css::reflection::XTypeDescription >(); }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getMemberNames()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getTypeParameters()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::Sequence< rtl::OUString >(); }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getTypeArguments() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getTypeArguments() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
rtl::OUString name_;
@@ -584,14 +584,14 @@ private:
virtual ~ExceptionTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_EXCEPTION; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getBaseType() throw (css::uno::RuntimeException, std::exception) {
+ getBaseType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return entity_->getDirectBase().isEmpty()
? css::uno::Reference< css::reflection::XTypeDescription >()
: manager_->resolve(entity_->getDirectBase());
@@ -600,10 +600,10 @@ private:
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMemberTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL getMemberNames()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
rtl::OUString name_;
@@ -652,38 +652,38 @@ private:
virtual ~AttributeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_INTERFACE_ATTRIBUTE; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual rtl::OUString SAL_CALL getMemberName()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return attribute_.name; }
- virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return position_; }
- virtual sal_Bool SAL_CALL isReadOnly() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Bool SAL_CALL isReadOnly() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return attribute_.readOnly; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getType() throw (css::uno::RuntimeException, std::exception)
+ getType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(attribute_.type); }
- virtual sal_Bool SAL_CALL isBound() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Bool SAL_CALL isBound() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return attribute_.bound; }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XCompoundTypeDescription > >
- SAL_CALL getGetExceptions() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getGetExceptions() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XCompoundTypeDescription > >
- SAL_CALL getSetExceptions() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getSetExceptions() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
rtl::OUString name_;
@@ -735,14 +735,14 @@ public:
private:
virtual ~MethodParameter() {}
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return parameter_.name; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getType() throw (css::uno::RuntimeException, std::exception)
+ getType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(parameter_.type); }
- virtual sal_Bool SAL_CALL isIn() throw (css::uno::RuntimeException, std::exception) {
+ virtual sal_Bool SAL_CALL isIn() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return
(parameter_.direction
== unoidl::InterfaceTypeEntity::Method::Parameter::DIRECTION_IN)
@@ -751,7 +751,7 @@ private:
DIRECTION_IN_OUT);
}
- virtual sal_Bool SAL_CALL isOut() throw (css::uno::RuntimeException, std::exception) {
+ virtual sal_Bool SAL_CALL isOut() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return
(parameter_.direction
== unoidl::InterfaceTypeEntity::Method::Parameter::DIRECTION_OUT)
@@ -760,7 +760,7 @@ private:
DIRECTION_IN_OUT);
}
- virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return position_; }
rtl::Reference< cppuhelper::TypeManager > manager_;
@@ -784,35 +784,35 @@ private:
virtual ~MethodDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_INTERFACE_METHOD; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual rtl::OUString SAL_CALL getMemberName()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return method_.name; }
- virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return position_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getReturnType() throw (css::uno::RuntimeException, std::exception)
+ getReturnType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(method_.returnType); }
- virtual sal_Bool SAL_CALL isOneway() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Bool SAL_CALL isOneway() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return false; }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XMethodParameter > >
- SAL_CALL getParameters() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getParameters() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getExceptions() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getExceptions() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
rtl::OUString name_;
@@ -916,37 +916,37 @@ private:
virtual ~InterfaceTypeDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_INTERFACE; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getBaseType() throw (css::uno::RuntimeException, std::exception) {
+ getBaseType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {
return entity_->getDirectMandatoryBases().empty()
? css::uno::Reference< css::reflection::XTypeDescription >()
: manager_->resolve(entity_->getDirectMandatoryBases()[0].name);
}
- virtual css::uno::Uik SAL_CALL getUik() throw (css::uno::RuntimeException, std::exception)
+ virtual css::uno::Uik SAL_CALL getUik() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::Uik(); }
virtual
css::uno::Sequence<
css::uno::Reference<
css::reflection::XInterfaceMemberTypeDescription > >
- SAL_CALL getMembers() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMembers() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getBaseTypes() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getBaseTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XTypeDescription > >
- SAL_CALL getOptionalBaseTypes() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getOptionalBaseTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
rtl::OUString name_;
@@ -1020,14 +1020,14 @@ private:
virtual ~ConstantDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_CONSTANT; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Any SAL_CALL getConstantValue()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return value_; }
rtl::OUString name_;
@@ -1092,16 +1092,16 @@ private:
virtual ~ConstantGroupDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_CONSTANTS; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XConstantTypeDescription > >
- SAL_CALL getConstants() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getConstants() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::OUString name_;
rtl::Reference< unoidl::ConstantGroupEntity > entity_;
@@ -1138,14 +1138,14 @@ private:
virtual ~TypedefDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_TYPEDEF; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getReferencedType() throw (css::uno::RuntimeException, std::exception)
+ getReferencedType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(entity_->getType()); }
rtl::Reference< cppuhelper::TypeManager > manager_;
@@ -1168,24 +1168,24 @@ public:
private:
virtual ~ConstructorParameter() {}
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return parameter_.name; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getType() throw (css::uno::RuntimeException, std::exception)
+ getType() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(parameter_.type); }
- virtual sal_Bool SAL_CALL isIn() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Bool SAL_CALL isIn() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return true; }
- virtual sal_Bool SAL_CALL isOut() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Bool SAL_CALL isOut() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return false; }
- virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception)
+ virtual sal_Int32 SAL_CALL getPosition() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return position_; }
virtual sal_Bool SAL_CALL isRestParameter()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return parameter_.rest; }
rtl::Reference< cppuhelper::TypeManager > manager_;
@@ -1210,21 +1210,21 @@ private:
virtual ~ConstructorDescription() {}
virtual sal_Bool SAL_CALL isDefaultConstructor()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return constructor_.defaultConstructor; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return constructor_.name; }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XParameter > >
- SAL_CALL getParameters() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getParameters() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XCompoundTypeDescription > >
- SAL_CALL getExceptions() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getExceptions() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
unoidl::SingleInterfaceBasedServiceEntity::Constructor constructor_;
@@ -1279,16 +1279,16 @@ private:
virtual ~SingleInterfaceBasedServiceDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_SERVICE; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceTypeDescription > >
- SAL_CALL getMandatoryServices() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getMandatoryServices() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceTypeDescription > >();
@@ -1297,7 +1297,7 @@ private:
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceTypeDescription > >
- SAL_CALL getOptionalServices() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getOptionalServices() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceTypeDescription > >();
@@ -1306,7 +1306,7 @@ private:
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XInterfaceTypeDescription > >
- SAL_CALL getMandatoryInterfaces() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getMandatoryInterfaces() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return css::uno::Sequence<
css::uno::Reference<
@@ -1316,7 +1316,7 @@ private:
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XInterfaceTypeDescription > >
- SAL_CALL getOptionalInterfaces() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getOptionalInterfaces() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return css::uno::Sequence<
css::uno::Reference<
@@ -1326,7 +1326,7 @@ private:
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XPropertyTypeDescription > >
- SAL_CALL getProperties() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getProperties() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return css::uno::Sequence<
css::uno::Reference<
@@ -1334,17 +1334,17 @@ private:
}
virtual sal_Bool SAL_CALL isSingleInterfaceBased()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return true; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getInterface() throw (css::uno::RuntimeException, std::exception)
+ getInterface() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(entity_->getBase()); }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceConstructorDescription > >
- SAL_CALL getConstructors() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getConstructors() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
rtl::Reference< cppuhelper::TypeManager > manager_;
rtl::OUString name_;
@@ -1382,18 +1382,18 @@ private:
virtual ~PropertyDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_PROPERTY; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return property_.name; }
virtual sal_Int16 SAL_CALL getPropertyFlags()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return property_.attributes; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getPropertyTypeDescription() throw (css::uno::RuntimeException, std::exception)
+ getPropertyTypeDescription() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(property_.type); }
rtl::Reference< cppuhelper::TypeManager > manager_;
@@ -1421,49 +1421,49 @@ private:
virtual ~AccumulationBasedServiceDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_SERVICE; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceTypeDescription > >
- SAL_CALL getMandatoryServices() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMandatoryServices() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceTypeDescription > >
- SAL_CALL getOptionalServices() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getOptionalServices() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XInterfaceTypeDescription > >
- SAL_CALL getMandatoryInterfaces() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getMandatoryInterfaces() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XInterfaceTypeDescription > >
- SAL_CALL getOptionalInterfaces() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getOptionalInterfaces() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XPropertyTypeDescription > >
- SAL_CALL getProperties() throw (css::uno::RuntimeException, std::exception);
+ SAL_CALL getProperties() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL isSingleInterfaceBased()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return false; }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
- getInterface() throw (css::uno::RuntimeException, std::exception)
+ getInterface() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::Reference< css::reflection::XTypeDescription >(); }
virtual
css::uno::Sequence<
css::uno::Reference< css::reflection::XServiceConstructorDescription > >
- SAL_CALL getConstructors() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getConstructors() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return css::uno::Sequence<
css::uno::Reference<
@@ -1591,25 +1591,25 @@ private:
virtual ~InterfaceBasedSingletonDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_SINGLETON; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XServiceTypeDescription >
- SAL_CALL getService() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getService() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return
css::uno::Reference< css::reflection::XServiceTypeDescription >();
}
virtual sal_Bool SAL_CALL isInterfaceBased()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return true; }
virtual css::uno::Reference< css::reflection::XTypeDescription >
- SAL_CALL getInterface() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getInterface() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return manager_->resolve(entity_->getBase()); }
rtl::Reference< cppuhelper::TypeManager > manager_;
@@ -1637,25 +1637,25 @@ private:
virtual ~ServiceBasedSingletonDescription() {}
virtual css::uno::TypeClass SAL_CALL getTypeClass()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::TypeClass_SINGLETON; }
- virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception)
+ virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return name_; }
virtual css::uno::Reference< css::reflection::XServiceTypeDescription >
- SAL_CALL getService() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getService() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{
return css::uno::Reference< css::reflection::XServiceTypeDescription >(
manager_->resolve(entity_->getBase()), css::uno::UNO_QUERY_THROW);
}
virtual sal_Bool SAL_CALL isInterfaceBased()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return false; }
virtual css::uno::Reference< css::reflection::XTypeDescription >
- SAL_CALL getInterface() throw (css::uno::RuntimeException, std::exception)
+ SAL_CALL getInterface() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::Reference< css::reflection::XTypeDescription >(); }
rtl::Reference< cppuhelper::TypeManager > manager_;
@@ -1683,19 +1683,19 @@ private:
virtual ~Enumeration() {}
virtual sal_Bool SAL_CALL hasMoreElements()
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return !positions_.empty(); }
virtual css::uno::Any SAL_CALL nextElement()
throw (
css::container::NoSuchElementException,
- css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ return css::uno::makeAny(nextTypeDescription()); }
virtual css::uno::Reference< css::reflection::XTypeDescription > SAL_CALL
nextTypeDescription()
throw (
- css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
+ css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
bool matches(css::uno::TypeClass tc) const;
diff --git a/cppuhelper/source/typemanager.hxx b/cppuhelper/source/typemanager.hxx
index 92976ef92485..f4546e8a19f8 100644
--- a/cppuhelper/source/typemanager.hxx
+++ b/cppuhelper/source/typemanager.hxx
@@ -66,45 +66,45 @@ public:
private:
virtual ~TypeManager() throw ();
- virtual void SAL_CALL disposing();
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception);
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Any SAL_CALL getByHierarchicalName(
rtl::OUString const & aName)
throw (
- css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
+ css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasByHierarchicalName(rtl::OUString const & aName)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Type SAL_CALL getElementType()
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
- createEnumeration() throw (css::uno::RuntimeException, std::exception);
+ createEnumeration() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL has(css::uno::Any const & aElement)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL insert(css::uno::Any const & aElement)
throw (
css::lang::IllegalArgumentException,
- css::container::ElementExistException, css::uno::RuntimeException, std::exception);
+ css::container::ElementExistException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL remove(css::uno::Any const & aElement)
throw (
css::lang::IllegalArgumentException,
- css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
+ css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual css::uno::Reference< css::reflection::XTypeDescriptionEnumeration >
SAL_CALL createTypeDescriptionEnumeration(
@@ -114,7 +114,7 @@ private:
throw (
css::reflection::NoSuchTypeNameException,
css::reflection::InvalidTypeNameException,
- css::uno::RuntimeException, std::exception);
+ css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
void readRdbs(rtl::OUString const & uris);
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 37051c8db2e5..52c920fbe63b 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -54,14 +54,14 @@ public:
{}
// XInterface
- Any SAL_CALL queryInterface( const Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception);
- void SAL_CALL acquire() throw();
- void SAL_CALL release() throw();
+ Any SAL_CALL queryInterface( const Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ void SAL_CALL acquire() throw() SAL_OVERRIDE;
+ void SAL_CALL release() throw() SAL_OVERRIDE;
// XAdapter
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL queryAdapted() throw(::com::sun::star::uno::RuntimeException, std::exception);
- void SAL_CALL addReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >& xRef ) throw(::com::sun::star::uno::RuntimeException, std::exception);
- void SAL_CALL removeReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >& xRef ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL queryAdapted() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ void SAL_CALL addReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >& xRef ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ void SAL_CALL removeReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XReference >& xRef ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Called from the weak object if the reference count goes to zero.
void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
@@ -324,12 +324,12 @@ public:
virtual ~OWeakRefListener() SAL_THROW(());
// XInterface
- Any SAL_CALL queryInterface( const Type & rType ) throw(RuntimeException, std::exception);
- void SAL_CALL acquire() throw();
- void SAL_CALL release() throw();
+ Any SAL_CALL queryInterface( const Type & rType ) throw(RuntimeException, std::exception) SAL_OVERRIDE;
+ void SAL_CALL acquire() throw() SAL_OVERRIDE;
+ void SAL_CALL release() throw() SAL_OVERRIDE;
// XReference
- void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException, std::exception);
+ void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// The reference counter.
oslInterlockedCount m_aRefCount;