summaryrefslogtreecommitdiff
path: root/ucb
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 /ucb
parent7e8806cd728bf906e1a8f1d649bef7337f297b1c (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 'ucb')
-rw-r--r--ucb/source/inc/regexp.hxx4
-rw-r--r--ucb/source/inc/regexpmap.hxx4
-rw-r--r--ucb/source/ucp/file/filtask.hxx2
-rw-r--r--ucb/source/ucp/webdav-neon/DAVSession.hxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/inc/regexp.hxx b/ucb/source/inc/regexp.hxx
index 75b17b59789b..69b4306cbbec 100644
--- a/ucb/source/inc/regexp.hxx
+++ b/ucb/source/inc/regexp.hxx
@@ -37,10 +37,10 @@ public:
inline bool operator ==(Regexp const & rOther) const;
- inline bool isDefault() const
+ bool isDefault() const
{ return m_eKind == KIND_PREFIX && m_aPrefix.isEmpty(); }
- inline Kind getKind() const { return m_eKind; }
+ Kind getKind() const { return m_eKind; }
bool matches(OUString const & rString) const;
diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx
index f8f5450596a7..e9475f8a9684 100644
--- a/ucb/source/inc/regexpmap.hxx
+++ b/ucb/source/inc/regexpmap.hxx
@@ -39,7 +39,7 @@ template< typename Val >
class RegexpMapEntry
{
public:
- inline RegexpMapEntry(OUString const & rTheRegexp,
+ RegexpMapEntry(OUString const & rTheRegexp,
Val * pTheValue):
m_aRegexp(rTheRegexp), m_pValue(pTheValue) {}
@@ -61,7 +61,7 @@ struct Entry
Regexp m_aRegexp;
Val m_aValue;
- inline Entry(Regexp const & rTheRegexp, Val const & rTheValue):
+ Entry(Regexp const & rTheRegexp, Val const & rTheValue):
m_aRegexp(rTheRegexp), m_aValue(rTheValue) {}
};
diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx
index 5371869de44a..2a427c6adaa6 100644
--- a/ucb/source/ucp/file/filtask.hxx
+++ b/ucb/source/ucp/file/filtask.hxx
@@ -196,7 +196,7 @@ namespace fileaccess
~MyProperty();
inline const bool& SAL_CALL IsNative() const;
- inline const OUString& SAL_CALL getPropertyName() const { return PropertyName; }
+ const OUString& SAL_CALL getPropertyName() const { return PropertyName; }
inline const sal_Int32& SAL_CALL getHandle() const;
inline const css::uno::Type& SAL_CALL getType() const;
inline const css::uno::Any& SAL_CALL getValue() const;
diff --git a/ucb/source/ucp/webdav-neon/DAVSession.hxx b/ucb/source/ucp/webdav-neon/DAVSession.hxx
index 58839c80a47f..52891f342fed 100644
--- a/ucb/source/ucp/webdav-neon/DAVSession.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVSession.hxx
@@ -54,7 +54,7 @@ namespace webdav_ucp
class DAVSession
{
public:
- inline void acquire()
+ void acquire()
{
osl_atomic_increment( &m_nRefCount );
}