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 /xmloff/inc | |
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 'xmloff/inc')
-rw-r--r-- | xmloff/inc/MultiPropertySetHelper.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/StyleMap.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 4 | ||||
-rw-r--r-- | xmloff/inc/txtvfldi.hxx | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/inc/MultiPropertySetHelper.hxx b/xmloff/inc/MultiPropertySetHelper.hxx index 924e0d201c5e..cbc61f5e1633 100644 --- a/xmloff/inc/MultiPropertySetHelper.hxx +++ b/xmloff/inc/MultiPropertySetHelper.hxx @@ -157,7 +157,7 @@ public: const css::uno::Any& getValue( sal_Int16 nIndex, const css::uno::Reference<css::beans::XMultiPropertySet> & ); - inline void resetValues() { pValues = nullptr; } + void resetValues() { pValues = nullptr; } }; diff --git a/xmloff/inc/StyleMap.hxx b/xmloff/inc/StyleMap.hxx index f5b99a3278b2..a3edc2e35832 100644 --- a/xmloff/inc/StyleMap.hxx +++ b/xmloff/inc/StyleMap.hxx @@ -29,7 +29,7 @@ struct StyleNameKey_Impl sal_uInt16 m_nFamily; OUString m_aName; - inline StyleNameKey_Impl( sal_uInt16 nFamily, + StyleNameKey_Impl( sal_uInt16 nFamily, const OUString& rName ) : m_nFamily( nFamily ), m_aName( rName ) diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 5d2e5c225331..106545c34503 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -149,10 +149,10 @@ public: protected: /// get helper - inline XMLTextImportHelper& GetImportHelper() { return rTextImportHelper; } + XMLTextImportHelper& GetImportHelper() { return rTextImportHelper; } const OUString& GetServiceName() { return sServiceName; } - inline void SetServiceName(const OUString& sStr) { sServiceName = sStr; } + void SetServiceName(const OUString& sStr) { sServiceName = sStr; } OUString const & GetContent(); diff --git a/xmloff/inc/txtvfldi.hxx b/xmloff/inc/txtvfldi.hxx index bfe990375d7c..b5e1d6dcae86 100644 --- a/xmloff/inc/txtvfldi.hxx +++ b/xmloff/inc/txtvfldi.hxx @@ -73,12 +73,12 @@ public: const css::uno::Reference<css::beans::XPropertySet> & xPropertySet); /// is value a string (rather than double)? - inline bool IsStringValue() { return bStringType; } + bool IsStringValue() { return bStringType; } /// has format been read? - inline bool IsFormatOK() { return bFormatOK; } + bool IsFormatOK() { return bFormatOK; } - inline void SetDefault(const OUString& sStr) { sDefault = sStr; } + void SetDefault(const OUString& sStr) { sDefault = sStr; } }; @@ -169,7 +169,7 @@ protected: // various accessor methods: const OUString& GetName() { return sName; } - inline bool IsStringValue() { return aValueHelper.IsStringValue();} + bool IsStringValue() { return aValueHelper.IsStringValue();} }; |