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 /include/xmloff | |
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 'include/xmloff')
-rw-r--r-- | include/xmloff/ProgressBarHelper.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/txtstyli.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlexp.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/xmlimp.hxx | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/include/xmloff/ProgressBarHelper.hxx b/include/xmloff/ProgressBarHelper.hxx index 748fb4e95c87..a69e8ef31dec 100644 --- a/include/xmloff/ProgressBarHelper.hxx +++ b/include/xmloff/ProgressBarHelper.hxx @@ -53,7 +53,7 @@ public: void SetReference(sal_Int32 nVal) { nReference = nVal; } void SetValue(sal_Int32 nValue); void SetRepeat(bool bValue) { bRepeat = bValue; } - inline void Increment(sal_Int32 nInc = 1) { SetValue( nValue+nInc ); } + void Increment(sal_Int32 nInc = 1) { SetValue( nValue+nInc ); } void End() { if (xStatusIndicator.is()) xStatusIndicator->end(); } // set the new reference and returns the new value which gives the diff --git a/include/xmloff/txtstyli.hxx b/include/xmloff/txtstyli.hxx index ee2692fe0ba3..7015a616ea3c 100644 --- a/include/xmloff/txtstyli.hxx +++ b/include/xmloff/txtstyli.hxx @@ -99,7 +99,7 @@ public: virtual void FillPropertySet( const css::uno::Reference< css::beans::XPropertySet > & rPropSet ) override; - inline bool HasCombinedCharactersLetter() + bool HasCombinedCharactersLetter() { return bHasCombinedCharactersLetter; } const ::std::vector< XMLPropertyState > & GetProperties_() { return GetProperties(); } diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index 2a6040bd4f25..b8f274cc90b2 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -411,7 +411,7 @@ public: GetModel() const { return mxModel; } // Get XNumberFormatsSupplier css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier() { return mxNumberFormatsSupplier; } - inline void SetNumberFormatsSupplier(const css::uno::Reference< css::util::XNumberFormatsSupplier >& _xNumberFormatSupplier) + void SetNumberFormatsSupplier(const css::uno::Reference< css::util::XNumberFormatsSupplier >& _xNumberFormatSupplier) { mxNumberFormatsSupplier = _xNumberFormatSupplier; if ( mxNumberFormatsSupplier.is() && mxHandler.is() ) @@ -468,7 +468,7 @@ public: bool *pEncoded=nullptr ) const; // save linked sections? - inline bool IsSaveLinkedSections() { return mbSaveLinkedSections; } + bool IsSaveLinkedSections() { return mbSaveLinkedSections; } // get export flags SvXMLExportFlags getExportFlags() const { return mnExportFlags; } diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 330e92a0da9a..c53b9c1bebac 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -220,10 +220,10 @@ protected: const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ); virtual XMLTextImportHelper* CreateTextImport(); - inline void ClearTextImport() { mxTextImport = nullptr; } + void ClearTextImport() { mxTextImport = nullptr; } virtual XMLShapeImportHelper* CreateShapeImport(); - inline bool HasShapeImport() const { return mxShapeImport.is(); } - inline void ClearShapeImport() { mxShapeImport = nullptr; } + bool HasShapeImport() const { return mxShapeImport.is(); } + void ClearShapeImport() { mxShapeImport = nullptr; } static SchXMLImportHelper* CreateChartImport(); ::xmloff::OFormLayerXMLImport* CreateFormImport(); @@ -359,7 +359,7 @@ public: const css::uno::Reference< css::container::XNameContainer > & GetMarkerHelper(); const css::uno::Reference< css::container::XNameContainer > & GetDashHelper(); inline css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier(); - inline void SetNumberFormatsSupplier(const css::uno::Reference< css::util::XNumberFormatsSupplier >& _xNumberFormatSupplier) + void SetNumberFormatsSupplier(const css::uno::Reference< css::util::XNumberFormatsSupplier >& _xNumberFormatSupplier) { mxNumberFormatsSupplier = _xNumberFormatSupplier; } |