summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/ChartType.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/ChartType.hxx')
-rw-r--r--chart2/source/model/template/ChartType.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/chart2/source/model/template/ChartType.hxx b/chart2/source/model/template/ChartType.hxx
index 18dfaea03ba4..7facd15af85e 100644
--- a/chart2/source/model/template/ChartType.hxx
+++ b/chart2/source/model/template/ChartType.hxx
@@ -140,7 +140,8 @@ protected:
DECLARE_XTYPEPROVIDER()
protected:
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener > m_xModifyEventForwarder;
+ ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener >
+ const m_xModifyEventForwarder;
private:
void impl_addDataSeriesWithoutNotification(
@@ -149,13 +150,15 @@ private:
private:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
- m_xContext;
+ const m_xContext;
typedef
::std::vector< ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > >
tDataSeriesContainerType;
+ // --- mutable members: the following members need mutex guard ---
+
tDataSeriesContainerType m_aDataSeries;
bool m_bNotifyChanges;