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 /chart2/source/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 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/PropertyHelper.hxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/RegressionCalculationHelper.hxx | 12 | ||||
-rw-r--r-- | chart2/source/inc/XMLRangeHelper.hxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/inc/PropertyHelper.hxx b/chart2/source/inc/PropertyHelper.hxx index 4be22de5d6e9..52a38edfed6c 100644 --- a/chart2/source/inc/PropertyHelper.hxx +++ b/chart2/source/inc/PropertyHelper.hxx @@ -140,7 +140,7 @@ OOO_DLLPUBLIC_CHARTTOOLS void setEmptyPropertyValueDefault( tPropertyValueMap & struct OOO_DLLPUBLIC_CHARTTOOLS PropertyNameLess { - inline bool operator() ( const css::beans::Property & first, + bool operator() ( const css::beans::Property & first, const css::beans::Property & second ) { return ( first.Name.compareTo( second.Name ) < 0 ); diff --git a/chart2/source/inc/RegressionCalculationHelper.hxx b/chart2/source/inc/RegressionCalculationHelper.hxx index e4b94818bfb5..60ab60ddf621 100644 --- a/chart2/source/inc/RegressionCalculationHelper.hxx +++ b/chart2/source/inc/RegressionCalculationHelper.hxx @@ -63,7 +63,7 @@ tDoubleVectorPair class isValid : public std::binary_function< double, double, bool > { public: - inline bool operator()( double x, double y ) + bool operator()( double x, double y ) { return ! ( ::rtl::math::isNan( x ) || ::rtl::math::isNan( y ) || ::rtl::math::isInf( x ) || @@ -74,7 +74,7 @@ public: class isValidAndXPositive : public std::binary_function< double, double, bool > { public: - inline bool operator()( double x, double y ) + bool operator()( double x, double y ) { return ! ( ::rtl::math::isNan( x ) || ::rtl::math::isNan( y ) || ::rtl::math::isInf( x ) || @@ -86,7 +86,7 @@ public: class isValidAndYPositive : public std::binary_function< double, double, bool > { public: - inline bool operator()( double x, double y ) + bool operator()( double x, double y ) { return ! ( ::rtl::math::isNan( x ) || ::rtl::math::isNan( y ) || ::rtl::math::isInf( x ) || @@ -98,7 +98,7 @@ public: class isValidAndYNegative : public std::binary_function< double, double, bool > { public: - inline bool operator()( double x, double y ) + bool operator()( double x, double y ) { return ! ( ::rtl::math::isNan( x ) || ::rtl::math::isNan( y ) || ::rtl::math::isInf( x ) || @@ -110,7 +110,7 @@ public: class isValidAndBothPositive : public std::binary_function< double, double, bool > { public: - inline bool operator()( double x, double y ) + bool operator()( double x, double y ) { return ! ( ::rtl::math::isNan( x ) || ::rtl::math::isNan( y ) || ::rtl::math::isInf( x ) || @@ -123,7 +123,7 @@ public: class isValidAndXPositiveAndYNegative : public std::binary_function< double, double, bool > { public: - inline bool operator()( double x, double y ) + bool operator()( double x, double y ) { return ! ( ::rtl::math::isNan( x ) || ::rtl::math::isNan( y ) || ::rtl::math::isInf( x ) || diff --git a/chart2/source/inc/XMLRangeHelper.hxx b/chart2/source/inc/XMLRangeHelper.hxx index 455b9d55b754..207770dbbed9 100644 --- a/chart2/source/inc/XMLRangeHelper.hxx +++ b/chart2/source/inc/XMLRangeHelper.hxx @@ -44,7 +44,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS Cell bIsEmpty(true) {} - inline bool empty() const { return bIsEmpty; } + bool empty() const { return bIsEmpty; } }; struct OOO_DLLPUBLIC_CHARTTOOLS CellRange |