summaryrefslogtreecommitdiff
path: root/io/source/TextOutputStream
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 /io/source/TextOutputStream
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 'io/source/TextOutputStream')
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index 5a388d16bd1b..94e4921f6bfc 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -72,28 +72,28 @@ public:
// Methods XTextOutputStream
virtual void SAL_CALL writeString( const OUString& aString )
- throw(IOException, RuntimeException, std::exception);
+ throw(IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setEncoding( const OUString& Encoding )
- throw(RuntimeException, std::exception);
+ throw(RuntimeException, std::exception) SAL_OVERRIDE;
// Methods XOutputStream
virtual void SAL_CALL writeBytes( const Sequence< sal_Int8 >& aData )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception);
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL flush( )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception);
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL closeOutput( )
- throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception);
+ throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
// Methods XActiveDataSource
virtual void SAL_CALL setOutputStream( const Reference< XOutputStream >& aStream )
- throw(RuntimeException, std::exception);
+ throw(RuntimeException, std::exception) SAL_OVERRIDE;
virtual Reference< XOutputStream > SAL_CALL getOutputStream( )
- throw(RuntimeException, std::exception);
+ throw(RuntimeException, std::exception) SAL_OVERRIDE;
// Methods XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(std::exception);
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw(std::exception);
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception);
+ virtual OUString SAL_CALL getImplementationName() throw(std::exception) SAL_OVERRIDE;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw(std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception) SAL_OVERRIDE;
};
OTextOutputStream::OTextOutputStream()