summaryrefslogtreecommitdiff
path: root/ucbhelper
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 /ucbhelper
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 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx20
-rw-r--r--ucbhelper/source/client/proxydecider.cxx4
-rw-r--r--ucbhelper/source/provider/resultset.cxx16
3 files changed, 20 insertions, 20 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 0dcd2ab21ebb..809d6d3612a4 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -80,16 +80,16 @@ class EmptyInputStream : public ::cppu::WeakImplHelper1< XInputStream >
public:
virtual sal_Int32 SAL_CALL readBytes(
Sequence< sal_Int8 > & data, sal_Int32 nBytesToRead )
- throw (IOException, RuntimeException, std::exception);
+ throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL readSomeBytes(
Sequence< sal_Int8 > & data, sal_Int32 nMaxBytesToRead )
- throw (IOException, RuntimeException, std::exception);
+ throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip )
- throw (IOException, RuntimeException, std::exception);
+ throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL available()
- throw (IOException, RuntimeException, std::exception);
+ throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL closeInput()
- throw (IOException, RuntimeException, std::exception);
+ throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE;
};
sal_Int32 EmptyInputStream::readBytes(
@@ -144,19 +144,19 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
- throw( css::uno::RuntimeException, std::exception );
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw();
+ throw() SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw();
+ throw() SAL_OVERRIDE;
// XContentEventListener
virtual void SAL_CALL contentEvent( const ContentEvent& evt )
- throw( RuntimeException, std::exception );
+ throw( RuntimeException, std::exception ) SAL_OVERRIDE;
// XEventListener ( base of XContentEventListener )
virtual void SAL_CALL disposing( const EventObject& Source )
- throw( RuntimeException, std::exception );
+ throw( RuntimeException, std::exception ) SAL_OVERRIDE;
};
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx
index 7652f021e90a..66ff40654920 100644
--- a/ucbhelper/source/client/proxydecider.cxx
+++ b/ucbhelper/source/client/proxydecider.cxx
@@ -150,11 +150,11 @@ public:
// XChangesListener
virtual void SAL_CALL changesOccurred( const util::ChangesEvent& Event )
- throw( uno::RuntimeException, std::exception );
+ throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XEventListener ( base of XChangesLisetenr )
virtual void SAL_CALL disposing( const lang::EventObject& Source )
- throw( uno::RuntimeException, std::exception );
+ throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
private:
void setNoProxyList( const OUString & rNoProxyList );
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx
index 84be7cbab68a..8c9fac6bc82a 100644
--- a/ucbhelper/source/provider/resultset.cxx
+++ b/ucbhelper/source/provider/resultset.cxx
@@ -100,26 +100,26 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
- throw( css::uno::RuntimeException, std::exception );
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL acquire()
- throw();
+ throw() SAL_OVERRIDE;
virtual void SAL_CALL release()
- throw();
+ throw() SAL_OVERRIDE;
// XTypeProvider
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
- throw( css::uno::RuntimeException, std::exception );
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
- throw( css::uno::RuntimeException, std::exception );
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XPropertySetInfo
virtual uno::Sequence< beans::Property > SAL_CALL getProperties()
- throw( uno::RuntimeException, std::exception );
+ throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual beans::Property SAL_CALL getPropertyByName(
const OUString& aName )
- throw( beans::UnknownPropertyException, uno::RuntimeException, std::exception );
+ throw( beans::UnknownPropertyException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name )
- throw( uno::RuntimeException, std::exception );
+ throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};