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 /ucb/source/ucp/ext/ucpext_content.hxx | |
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 'ucb/source/ucp/ext/ucpext_content.hxx')
-rw-r--r-- | ucb/source/ucp/ext/ucpext_content.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.hxx b/ucb/source/ucp/ext/ucpext_content.hxx index 50f55307c6d6..57fdd5cbb843 100644 --- a/ucb/source/ucp/ext/ucpext_content.hxx +++ b/ucb/source/ucp/ext/ucpext_content.hxx @@ -77,7 +77,7 @@ namespace ucb { namespace ucp { namespace ext static OUString decodeIdentifier( const OUString& i_rIdentifier ); - virtual OUString getParentURL(); + virtual OUString getParentURL() SAL_OVERRIDE; ExtensionContentType getExtensionContentType() const { return m_eExtContentType; } @@ -90,11 +90,11 @@ namespace ucb { namespace ucp { namespace ext virtual ~Content(); // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception); - virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XContent - virtual OUString SAL_CALL getContentType() throw( com::sun::star::uno::RuntimeException, std::exception ); + virtual OUString SAL_CALL getContentType() throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XCommandProcessor virtual com::sun::star::uno::Any SAL_CALL @@ -106,18 +106,18 @@ namespace ucb { namespace ucp { namespace ext throw ( ::com::sun::star::uno::Exception , ::com::sun::star::ucb::CommandAbortedException , ::com::sun::star::uno::RuntimeException, std::exception - ); + ) SAL_OVERRIDE; virtual void SAL_CALL abort( sal_Int32 CommandId ) throw ( ::com::sun::star::uno::RuntimeException, std::exception - ); + ) SAL_OVERRIDE; private: - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > getProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& i_rEnv ); - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::ucb::CommandInfo > getCommands( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& i_rEnv ); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > getProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& i_rEnv ) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::ucb::CommandInfo > getCommands( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& i_rEnv ) SAL_OVERRIDE; ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > setPropertyValues( |