diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-04 16:07:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-05 08:26:56 +0200 |
commit | f8f606297d53eb216ff0c3c269de40058513e0a5 (patch) | |
tree | e1acc5482082d74016567a16cfc7a94763734c80 /chart2/source/inc | |
parent | MSForms: Reorder categories in menu (diff) | |
download | core-f8f606297d53eb216ff0c3c269de40058513e0a5.tar.gz core-f8f606297d53eb216ff0c3c269de40058513e0a5.zip |
loplugin:constmethod in chart2
Change-Id: Ib97571b3750bd832d0d69a1530e6c8589134c633
Reviewed-on: https://gerrit.libreoffice.org/78601
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/ExplicitCategoriesProvider.hxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/MediaDescriptorHelper.hxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/NumberFormatterWrapper.hxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/PopupRequest.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/inc/ExplicitCategoriesProvider.hxx b/chart2/source/inc/ExplicitCategoriesProvider.hxx index d91856ea7f6f..9e6cfa35a430 100644 --- a/chart2/source/inc/ExplicitCategoriesProvider.hxx +++ b/chart2/source/inc/ExplicitCategoriesProvider.hxx @@ -84,7 +84,7 @@ public: sal_Int32 getCategoryLevelCount() const; const css::uno::Sequence< css::uno::Reference< - css::chart2::data::XLabeledDataSequence> >& getSplitCategoriesList() { return m_aSplitCategoriesList;} + css::chart2::data::XLabeledDataSequence> >& getSplitCategoriesList() const { return m_aSplitCategoriesList;} bool isDateAxis(); const std::vector< double >& getDateCategories(); diff --git a/chart2/source/inc/MediaDescriptorHelper.hxx b/chart2/source/inc/MediaDescriptorHelper.hxx index d91b36652883..85f88b1a1e0e 100644 --- a/chart2/source/inc/MediaDescriptorHelper.hxx +++ b/chart2/source/inc/MediaDescriptorHelper.hxx @@ -48,7 +48,7 @@ class OOO_DLLPUBLIC_CHARTTOOLS MediaDescriptorHelper final public: MediaDescriptorHelper( const css::uno::Sequence< css::beans::PropertyValue > & rMediaDescriptor ); - const css::uno::Sequence< css::beans::PropertyValue >& getReducedForModel() { return m_aModelProperties;} + const css::uno::Sequence< css::beans::PropertyValue >& getReducedForModel() const { return m_aModelProperties;} //all properties given in the constructor are stored in the following three sequences diff --git a/chart2/source/inc/NumberFormatterWrapper.hxx b/chart2/source/inc/NumberFormatterWrapper.hxx index bf999ea6e1e2..7170d96966e9 100644 --- a/chart2/source/inc/NumberFormatterWrapper.hxx +++ b/chart2/source/inc/NumberFormatterWrapper.hxx @@ -38,7 +38,7 @@ public: SvNumberFormatter* getSvNumberFormatter() const { return m_pNumberFormatter;} const css::uno::Reference< css::util::XNumberFormatsSupplier >& - getNumberFormatsSupplier() { return m_xNumberFormatsSupplier; }; + getNumberFormatsSupplier() const { return m_xNumberFormatsSupplier; }; OUString getFormattedString( sal_Int32 nNumberFormatKey, double fValue, Color& rLabelColor, bool& rbColorChanged ) const; Date getNullDate() const; diff --git a/chart2/source/inc/PopupRequest.hxx b/chart2/source/inc/PopupRequest.hxx index 78ddc9b6b5b9..0c9af2f50bad 100644 --- a/chart2/source/inc/PopupRequest.hxx +++ b/chart2/source/inc/PopupRequest.hxx @@ -32,7 +32,7 @@ public: explicit PopupRequest(); virtual ~PopupRequest() override; - css::uno::Reference<css::awt::XCallback> const & getCallback() + css::uno::Reference<css::awt::XCallback> const & getCallback() const { return m_xCallback; } |