summaryrefslogtreecommitdiff
path: root/include/svl/strmadpt.hxx
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 /include/svl/strmadpt.hxx
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 'include/svl/strmadpt.hxx')
-rw-r--r--include/svl/strmadpt.hxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/include/svl/strmadpt.hxx b/include/svl/strmadpt.hxx
index 9d4797f8aa6f..7117a6e54e5a 100644
--- a/include/svl/strmadpt.hxx
+++ b/include/svl/strmadpt.hxx
@@ -43,25 +43,25 @@ public:
rTheOutputStream):
m_xOutputStream(rTheOutputStream), m_nPosition(0) {}
- virtual ErrCode ReadAt(sal_uLong, void *, sal_uLong, sal_uLong *) const;
+ virtual ErrCode ReadAt(sal_uLong, void *, sal_uLong, sal_uLong *) const SAL_OVERRIDE;
virtual ErrCode WriteAt(sal_uLong nPos, const void * pBuffer, sal_uLong nCount,
- sal_uLong * pWritten);
+ sal_uLong * pWritten) SAL_OVERRIDE;
- virtual ErrCode Flush() const;
+ virtual ErrCode Flush() const SAL_OVERRIDE;
- virtual ErrCode SetSize(sal_uLong);
+ virtual ErrCode SetSize(sal_uLong) SAL_OVERRIDE;
- virtual ErrCode Stat(SvLockBytesStat * pStat, SvLockBytesStatFlag) const;
+ virtual ErrCode Stat(SvLockBytesStat * pStat, SvLockBytesStatFlag) const SAL_OVERRIDE;
virtual ErrCode FillAppend(const void * pBuffer, sal_uLong nCount,
- sal_uLong * pWritten);
+ sal_uLong * pWritten) SAL_OVERRIDE;
- virtual sal_uLong Tell() const;
+ virtual sal_uLong Tell() const SAL_OVERRIDE;
- virtual sal_uLong Seek(sal_uLong);
+ virtual sal_uLong Seek(sal_uLong) SAL_OVERRIDE;
- virtual void Terminate();
+ virtual void Terminate() SAL_OVERRIDE;
};
@@ -78,48 +78,48 @@ public:
virtual com::sun::star::uno::Any SAL_CALL
queryInterface(const com::sun::star::uno::Type & rType)
- throw (com::sun::star::uno::RuntimeException, std::exception);
+ throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL acquire() throw();
+ virtual void SAL_CALL acquire() throw() SAL_OVERRIDE;
- virtual void SAL_CALL release() throw();
+ virtual void SAL_CALL release() throw() SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL
readBytes(com::sun::star::uno::Sequence< sal_Int8 > & rData,
sal_Int32 nBytesToRead)
throw (com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL
readSomeBytes(com::sun::star::uno::Sequence< sal_Int8 > & rData,
sal_Int32 nMaxBytesToRead)
throw (com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip)
throw (com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL available()
throw (com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL closeInput()
throw (com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL seek(sal_Int64 nLocation)
throw (com::sun::star::lang::IllegalArgumentException,
com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int64 SAL_CALL getPosition()
throw (com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int64 SAL_CALL getLength()
throw (com::sun::star::io::IOException,
- com::sun::star::uno::RuntimeException, std::exception);
+ com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
#endif // INCLUDED_SVL_STRMADPT_HXX