summaryrefslogtreecommitdiffstats
path: root/include/store
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-03 20:57:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-03 20:55:50 +0000
commit6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch)
tree21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /include/store
parenttdf#42982 improve error reporting in sc unoobj (diff)
downloadcore-6cb9e6dad798ec59f055aebe84a9c4a21e4be40d.tar.gz
core-6cb9e6dad798ec59f055aebe84a9c4a21e4be40d.zip
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 'include/store')
-rw-r--r--include/store/store.hxx54
1 files changed, 27 insertions, 27 deletions
diff --git a/include/store/store.hxx b/include/store/store.hxx
index 012afd1ab9b2..fc25856b903a 100644
--- a/include/store/store.hxx
+++ b/include/store/store.hxx
@@ -39,13 +39,13 @@ class OStoreStream
public:
/** Construction.
*/
- inline OStoreStream()
+ OStoreStream()
: m_hImpl (nullptr)
{}
/** Destruction.
*/
- inline ~OStoreStream()
+ ~OStoreStream()
{
if (m_hImpl)
(void) store_releaseHandle (m_hImpl);
@@ -53,7 +53,7 @@ public:
/** Copy construction.
*/
- inline OStoreStream (OStoreStream const & rhs)
+ OStoreStream (OStoreStream const & rhs)
: m_hImpl (rhs.m_hImpl)
{
if (m_hImpl)
@@ -62,7 +62,7 @@ public:
/** Assignment.
*/
- inline OStoreStream & operator= (OStoreStream const & rhs)
+ OStoreStream & operator= (OStoreStream const & rhs)
{
if (rhs.m_hImpl)
(void) store_acquireHandle (rhs.m_hImpl);
@@ -75,7 +75,7 @@ public:
/** Open the stream.
@see store_openStream()
*/
- inline storeError create (
+ storeError create (
storeFileHandle hFile,
rtl::OUString const & rPath,
rtl::OUString const & rName,
@@ -92,7 +92,7 @@ public:
/** Read from the stream.
@see store_readStream()
*/
- inline storeError readAt (
+ storeError readAt (
sal_uInt32 nOffset,
void * pBuffer,
sal_uInt32 nBytes,
@@ -107,7 +107,7 @@ public:
/** Write to the stream.
@see store_writeStream()
*/
- inline storeError writeAt (
+ storeError writeAt (
sal_uInt32 nOffset,
void const * pBuffer,
sal_uInt32 nBytes,
@@ -135,13 +135,13 @@ class OStoreDirectory
public:
/** Construction.
*/
- inline OStoreDirectory()
+ OStoreDirectory()
: m_hImpl (nullptr)
{}
/** Destruction.
*/
- inline ~OStoreDirectory()
+ ~OStoreDirectory()
{
if (m_hImpl)
(void) store_releaseHandle (m_hImpl);
@@ -149,7 +149,7 @@ public:
/** Copy construction.
*/
- inline OStoreDirectory (OStoreDirectory const & rhs)
+ OStoreDirectory (OStoreDirectory const & rhs)
: m_hImpl (rhs.m_hImpl)
{
if (m_hImpl)
@@ -158,7 +158,7 @@ public:
/** Move construction.
*/
- inline OStoreDirectory (OStoreDirectory && rhs)
+ OStoreDirectory (OStoreDirectory && rhs)
: m_hImpl (rhs.m_hImpl)
{
rhs.m_hImpl = nullptr;
@@ -166,7 +166,7 @@ public:
/** Assignment.
*/
- inline OStoreDirectory & operator= (OStoreDirectory const & rhs)
+ OStoreDirectory & operator= (OStoreDirectory const & rhs)
{
if (rhs.m_hImpl)
(void) store_acquireHandle (rhs.m_hImpl);
@@ -178,7 +178,7 @@ public:
/** Move assignment.
*/
- inline OStoreDirectory & operator= (OStoreDirectory && rhs)
+ OStoreDirectory & operator= (OStoreDirectory && rhs)
{
if (m_hImpl)
(void) store_releaseHandle (m_hImpl);
@@ -190,7 +190,7 @@ public:
/** Open the directory.
@see store_openDirectory()
*/
- inline storeError create (
+ storeError create (
storeFileHandle hFile,
rtl::OUString const & rPath,
rtl::OUString const & rName,
@@ -213,7 +213,7 @@ public:
/** Find first directory entry.
@see store_findFirst()
*/
- inline storeError first (iterator& it)
+ storeError first (iterator& it)
{
if (!m_hImpl)
return store_E_InvalidHandle;
@@ -224,7 +224,7 @@ public:
/** Find next directory entry.
@see store_findNext()
*/
- inline storeError next (iterator& it)
+ storeError next (iterator& it)
{
if (!m_hImpl)
return store_E_InvalidHandle;
@@ -248,13 +248,13 @@ class OStoreFile
public:
/** Construction.
*/
- inline OStoreFile()
+ OStoreFile()
: m_hImpl (nullptr)
{}
/** Destruction.
*/
- inline ~OStoreFile()
+ ~OStoreFile()
{
if (m_hImpl)
(void) store_releaseHandle (m_hImpl);
@@ -262,7 +262,7 @@ public:
/** Copy construction.
*/
- inline OStoreFile (OStoreFile const & rhs)
+ OStoreFile (OStoreFile const & rhs)
: m_hImpl (rhs.m_hImpl)
{
if (m_hImpl)
@@ -271,7 +271,7 @@ public:
/** Assignment.
*/
- inline OStoreFile & operator= (OStoreFile const & rhs)
+ OStoreFile & operator= (OStoreFile const & rhs)
{
if (rhs.m_hImpl)
(void) store_acquireHandle (rhs.m_hImpl);
@@ -283,7 +283,7 @@ public:
/** Conversion into File Handle.
*/
- inline operator storeFileHandle() const
+ operator storeFileHandle() const
{
return m_hImpl;
}
@@ -291,7 +291,7 @@ public:
/** Check for a valid File Handle.
@return sal_True if valid, sal_False otherwise.
*/
- inline bool isValid() const
+ bool isValid() const
{
return (m_hImpl != nullptr);
}
@@ -299,7 +299,7 @@ public:
/** Open the file.
@see store_openFile()
*/
- inline storeError create(
+ storeError create(
rtl::OUString const & rFilename,
storeAccessMode eAccessMode )
{
@@ -314,7 +314,7 @@ public:
/** Open the temporary file in memory.
@see store_createMemoryFile()
*/
- inline storeError createInMemory ()
+ storeError createInMemory ()
{
if (m_hImpl)
{
@@ -327,7 +327,7 @@ public:
/** Close the file.
@see store_closeFile()
*/
- inline void close()
+ void close()
{
if (m_hImpl)
{
@@ -339,7 +339,7 @@ public:
/** Flush the file.
@see store_flushFile()
*/
- inline storeError flush() const
+ storeError flush() const
{
if (!m_hImpl)
return store_E_InvalidHandle;
@@ -350,7 +350,7 @@ public:
/** Remove a file entry.
@see store_remove()
*/
- inline storeError remove (
+ storeError remove (
rtl::OUString const & rPath, rtl::OUString const & rName)
{
if (!m_hImpl)