diff options
Diffstat (limited to 'io/source/stm/odata.cxx')
-rw-r--r-- | io/source/stm/odata.cxx | 176 |
1 files changed, 88 insertions, 88 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index e93f1537a719..7dd5acb23baa 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -68,48 +68,48 @@ public: // XInputStream virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL readSomeBytes(Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL available(void) throw ( NotConnectedException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL closeInput(void) throw ( NotConnectedException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; public: // XDataInputStream - virtual sal_Int8 SAL_CALL readBoolean(void) throw (IOException, RuntimeException, std::exception); - virtual sal_Int8 SAL_CALL readByte(void) throw (IOException, RuntimeException, std::exception); - virtual sal_Unicode SAL_CALL readChar(void) throw (IOException, RuntimeException, std::exception); - virtual sal_Int16 SAL_CALL readShort(void) throw (IOException, RuntimeException, std::exception); - virtual sal_Int32 SAL_CALL readLong(void) throw (IOException, RuntimeException, std::exception); - virtual sal_Int64 SAL_CALL readHyper(void) throw (IOException, RuntimeException, std::exception); - virtual float SAL_CALL readFloat(void) throw (IOException, RuntimeException, std::exception); - virtual double SAL_CALL readDouble(void) throw (IOException, RuntimeException, std::exception); - virtual OUString SAL_CALL readUTF(void) throw (IOException, RuntimeException, std::exception); + virtual sal_Int8 SAL_CALL readBoolean(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int8 SAL_CALL readByte(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Unicode SAL_CALL readChar(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int16 SAL_CALL readShort(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL readLong(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int64 SAL_CALL readHyper(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual float SAL_CALL readFloat(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual double SAL_CALL readDouble(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL readUTF(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; public: // XActiveDataSink virtual void SAL_CALL setInputStream(const Reference< XInputStream > & aStream) - throw (RuntimeException, std::exception); - virtual Reference< XInputStream > SAL_CALL getInputStream(void) throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XInputStream > SAL_CALL getInputStream(void) throw (RuntimeException, std::exception) SAL_OVERRIDE; public: // XConnectable - virtual void SAL_CALL setPredecessor(const Reference < XConnectable >& aPredecessor) throw (RuntimeException, std::exception); - virtual Reference < XConnectable > SAL_CALL getPredecessor(void) throw (RuntimeException, std::exception); - virtual void SAL_CALL setSuccessor(const Reference < XConnectable >& aSuccessor) throw (RuntimeException, std::exception); - virtual Reference < XConnectable > SAL_CALL getSuccessor(void) throw (RuntimeException, std::exception) ; + virtual void SAL_CALL setPredecessor(const Reference < XConnectable >& aPredecessor) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference < XConnectable > SAL_CALL getPredecessor(void) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL setSuccessor(const Reference < XConnectable >& aSuccessor) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference < XConnectable > SAL_CALL getSuccessor(void) throw (RuntimeException, std::exception) SAL_OVERRIDE ; public: // XServiceInfo - OUString SAL_CALL getImplementationName() throw (std::exception); - Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception); - sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception); + OUString SAL_CALL getImplementationName() throw (std::exception) SAL_OVERRIDE; + Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception) SAL_OVERRIDE; + sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception) SAL_OVERRIDE; protected: @@ -519,46 +519,46 @@ public: // XOutputStream virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL flush(void) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL closeOutput(void) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception); + RuntimeException, std::exception) SAL_OVERRIDE; public: // XDataOutputStream - virtual void SAL_CALL writeBoolean(sal_Bool Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeByte(sal_Int8 Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeChar(sal_Unicode Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeShort(sal_Int16 Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeLong(sal_Int32 Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeHyper(sal_Int64 Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeFloat(float Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeDouble(double Value) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL writeUTF(const OUString& Value) throw (IOException, RuntimeException, std::exception); + virtual void SAL_CALL writeBoolean(sal_Bool Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeByte(sal_Int8 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeChar(sal_Unicode Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeShort(sal_Int16 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeLong(sal_Int32 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeHyper(sal_Int64 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeFloat(float Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeDouble(double Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL writeUTF(const OUString& Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; public: // XActiveDataSource virtual void SAL_CALL setOutputStream(const Reference< XOutputStream > & aStream) - throw (RuntimeException, std::exception); - virtual Reference < XOutputStream > SAL_CALL getOutputStream(void) throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference < XOutputStream > SAL_CALL getOutputStream(void) throw (RuntimeException, std::exception) SAL_OVERRIDE; public: // XConnectable virtual void SAL_CALL setPredecessor(const Reference < XConnectable >& aPredecessor) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference < XConnectable > SAL_CALL getPredecessor(void) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setSuccessor(const Reference < XConnectable >& aSuccessor) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference < XConnectable > SAL_CALL getSuccessor(void) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; public: // XServiceInfo - OUString SAL_CALL getImplementationName() throw (std::exception); - Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception); - sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception); + OUString SAL_CALL getImplementationName() throw (std::exception) SAL_OVERRIDE; + Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception) SAL_OVERRIDE; + sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception) SAL_OVERRIDE; protected: Reference < XConnectable > m_succ; @@ -940,57 +940,57 @@ public: virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeBytes( aData ); } virtual void SAL_CALL flush(void) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::flush(); } virtual void SAL_CALL closeOutput(void) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::closeOutput(); } public: // XDataOutputStream - virtual void SAL_CALL writeBoolean(sal_Bool Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeBoolean(sal_Bool Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeBoolean( Value ); } - virtual void SAL_CALL writeByte(sal_Int8 Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeByte(sal_Int8 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeByte( Value ); } - virtual void SAL_CALL writeChar(sal_Unicode Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeChar(sal_Unicode Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeChar( Value ); } - virtual void SAL_CALL writeShort(sal_Int16 Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeShort(sal_Int16 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeShort( Value ); } - virtual void SAL_CALL writeLong(sal_Int32 Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeLong(sal_Int32 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeLong( Value ); } - virtual void SAL_CALL writeHyper(sal_Int64 Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeHyper(sal_Int64 Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeHyper( Value ); } - virtual void SAL_CALL writeFloat(float Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeFloat(float Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeFloat( Value ); } - virtual void SAL_CALL writeDouble(double Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeDouble(double Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeDouble( Value ); } - virtual void SAL_CALL writeUTF(const OUString& Value) throw (IOException, RuntimeException, std::exception) + virtual void SAL_CALL writeUTF(const OUString& Value) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { ODataOutputStream::writeUTF( Value );} // XObjectOutputStream - virtual void SAL_CALL writeObject( const Reference< XPersistObject > & r ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception); + virtual void SAL_CALL writeObject( const Reference< XPersistObject > & r ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: // XMarkableStream - virtual sal_Int32 SAL_CALL createMark(void) throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL deleteMark(sal_Int32 Mark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception); - virtual void SAL_CALL jumpToMark(sal_Int32 nMark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception); - virtual void SAL_CALL jumpToFurthest(void) throw (IOException, RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL createMark(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL deleteMark(sal_Int32 Mark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL jumpToMark(sal_Int32 nMark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL jumpToFurthest(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL offsetToMark(sal_Int32 nMark) - throw (IOException, IllegalArgumentException, RuntimeException, std::exception); + throw (IOException, IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE; public: // XServiceInfo - OUString SAL_CALL getImplementationName() throw (std::exception); - Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception); - sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception); + OUString SAL_CALL getImplementationName() throw (std::exception) SAL_OVERRIDE; + Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception) SAL_OVERRIDE; + sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception) SAL_OVERRIDE; private: void connectToMarkable(); @@ -1206,67 +1206,67 @@ public: // XInputStream virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readBytes( aData , nBytesToRead ); } virtual sal_Int32 SAL_CALL readSomeBytes(Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readSomeBytes( aData, nMaxBytesToRead ); } virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip) throw ( NotConnectedException, BufferSizeExceededException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { ODataInputStream::skipBytes( nBytesToSkip ); } virtual sal_Int32 SAL_CALL available(void) throw ( NotConnectedException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::available(); } virtual void SAL_CALL closeInput(void) throw ( NotConnectedException, - RuntimeException, std::exception) + RuntimeException, std::exception) SAL_OVERRIDE { ODataInputStream::closeInput(); } public: // XDataInputStream - virtual sal_Int8 SAL_CALL readBoolean(void) throw (IOException, RuntimeException, std::exception) + virtual sal_Int8 SAL_CALL readBoolean(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readBoolean(); } - virtual sal_Int8 SAL_CALL readByte(void) throw (IOException, RuntimeException, std::exception) + virtual sal_Int8 SAL_CALL readByte(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readByte(); } - virtual sal_Unicode SAL_CALL readChar(void) throw (IOException, RuntimeException, std::exception) + virtual sal_Unicode SAL_CALL readChar(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readChar(); } - virtual sal_Int16 SAL_CALL readShort(void) throw (IOException, RuntimeException, std::exception) + virtual sal_Int16 SAL_CALL readShort(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readShort(); } - virtual sal_Int32 SAL_CALL readLong(void) throw (IOException, RuntimeException, std::exception) + virtual sal_Int32 SAL_CALL readLong(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readLong(); } - virtual sal_Int64 SAL_CALL readHyper(void) throw (IOException, RuntimeException, std::exception) + virtual sal_Int64 SAL_CALL readHyper(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readHyper(); } - virtual float SAL_CALL readFloat(void) throw (IOException, RuntimeException, std::exception) + virtual float SAL_CALL readFloat(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readFloat(); } - virtual double SAL_CALL readDouble(void) throw (IOException, RuntimeException, std::exception) + virtual double SAL_CALL readDouble(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readDouble(); } - virtual OUString SAL_CALL readUTF(void) throw (IOException, RuntimeException, std::exception) + virtual OUString SAL_CALL readUTF(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE { return ODataInputStream::readUTF(); } public: // XObjectInputStream - virtual Reference< XPersistObject > SAL_CALL readObject( ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception); + virtual Reference< XPersistObject > SAL_CALL readObject( ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: // XMarkableStream virtual sal_Int32 SAL_CALL createMark(void) - throw (IOException, RuntimeException, std::exception); - virtual void SAL_CALL deleteMark(sal_Int32 Mark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception); - virtual void SAL_CALL jumpToMark(sal_Int32 nMark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception); - virtual void SAL_CALL jumpToFurthest(void) throw (IOException, RuntimeException, std::exception); + throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL deleteMark(sal_Int32 Mark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL jumpToMark(sal_Int32 nMark) throw (IOException, IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL jumpToFurthest(void) throw (IOException, RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL offsetToMark(sal_Int32 nMark) - throw (IOException, IllegalArgumentException, RuntimeException, std::exception); + throw (IOException, IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE; public: // XServiceInfo - OUString SAL_CALL getImplementationName() throw (std::exception); - Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception); - sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception); + OUString SAL_CALL getImplementationName() throw (std::exception) SAL_OVERRIDE; + Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw (std::exception) SAL_OVERRIDE; + sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (std::exception) SAL_OVERRIDE; private: void connectToMarkable(); |