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
This commit is contained in:
Stephan Bergmann
2014-03-26 16:37:00 +01:00
parent 8757bea2e8
commit 70cc2b191b
2343 changed files with 27167 additions and 27143 deletions

View File

@@ -85,35 +85,35 @@ public:
// Methods XTextInputStream
virtual OUString SAL_CALL readLine( )
throw(IOException, RuntimeException, std::exception);
throw(IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL readString( const Sequence< sal_Unicode >& Delimiters, sal_Bool bRemoveDelimiter )
throw(IOException, RuntimeException, std::exception);
throw(IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL isEOF( )
throw(IOException, RuntimeException, std::exception);
virtual void SAL_CALL setEncoding( const OUString& Encoding ) throw(RuntimeException, std::exception);
throw(IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setEncoding( const OUString& Encoding ) throw(RuntimeException, std::exception) SAL_OVERRIDE;
// Methods XInputStream
virtual sal_Int32 SAL_CALL readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )
throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception);
throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL readSomeBytes( Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead )
throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception);
throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip )
throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception);
throw(NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL available( )
throw(NotConnectedException, IOException, RuntimeException, std::exception);
throw(NotConnectedException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL closeInput( )
throw(NotConnectedException, IOException, RuntimeException, std::exception);
throw(NotConnectedException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
// Methods XActiveDataSink
virtual void SAL_CALL setInputStream( const Reference< XInputStream >& aStream )
throw(RuntimeException, std::exception);
throw(RuntimeException, std::exception) SAL_OVERRIDE;
virtual Reference< XInputStream > SAL_CALL getInputStream()
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;
};
OTextInputStream::OTextInputStream()