diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /registry | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/reflread.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index d54a3098d6a7..a87acfcb8292 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -66,7 +66,7 @@ public: ~BlopObject(); - inline sal_uInt8 readBYTE(sal_uInt32 index) const + sal_uInt8 readBYTE(sal_uInt32 index) const { if (index >= m_bufferLen) { throw BoundsError(); @@ -74,7 +74,7 @@ public: return m_pBuffer[index]; } - inline sal_Int16 readINT16(sal_uInt32 index) const + sal_Int16 readINT16(sal_uInt32 index) const { if (m_bufferLen < 2 || index >= m_bufferLen - 1) { throw BoundsError(); @@ -82,7 +82,7 @@ public: return ((m_pBuffer[index] << 8) | (m_pBuffer[index+1] << 0)); } - inline sal_uInt16 readUINT16(sal_uInt32 index) const + sal_uInt16 readUINT16(sal_uInt32 index) const { if (m_bufferLen < 2 || index >= m_bufferLen - 1) { throw BoundsError(); @@ -90,7 +90,7 @@ public: return ((m_pBuffer[index] << 8) | (m_pBuffer[index+1] << 0)); } - inline sal_Int32 readINT32(sal_uInt32 index) const + sal_Int32 readINT32(sal_uInt32 index) const { if (m_bufferLen < 4 || index >= m_bufferLen - 3) { throw BoundsError(); @@ -103,7 +103,7 @@ public: ); } - inline sal_uInt32 readUINT32(sal_uInt32 index) const + sal_uInt32 readUINT32(sal_uInt32 index) const { if (m_bufferLen < 4 || index >= m_bufferLen - 3) { throw BoundsError(); @@ -116,7 +116,7 @@ public: ); } - inline sal_Int64 readINT64(sal_uInt32 index) const + sal_Int64 readINT64(sal_uInt32 index) const { if (m_bufferLen < 8 || index >= m_bufferLen - 7) { throw BoundsError(); @@ -133,7 +133,7 @@ public: ); } - inline sal_uInt64 readUINT64(sal_uInt32 index) const + sal_uInt64 readUINT64(sal_uInt32 index) const { if (m_bufferLen < 8 || index >= m_bufferLen - 7) { throw BoundsError(); |