diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /cppuhelper/source/component_context.cxx | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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/source/component_context.cxx')
-rw-r--r-- | cppuhelper/source/component_context.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
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 |