From 70ac6e7997a93631ee02a11b689529da21f3a6ab Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 7 Oct 2014 22:27:53 -0400 Subject: Make this data member const, as it never gets modified once constructed. Change-Id: Ic01fd0591bbb524b4a6a0ec1dfe448e33f4d6b18 --- chart2/source/view/inc/PlotterBase.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/view/inc/PlotterBase.hxx b/chart2/source/view/inc/PlotterBase.hxx index 4cc8b6cc7369..4395c78a75b2 100644 --- a/chart2/source/view/inc/PlotterBase.hxx +++ b/chart2/source/view/inc/PlotterBase.hxx @@ -82,7 +82,7 @@ protected: //member AbstractShapeFactory* m_pShapeFactory; OUString m_aCID; - sal_Int32 m_nDimension; + const sal_Int32 m_nDimension; // needs to be created and deleted by the derived class PlottingPositionHelper* m_pPosHelper; }; -- cgit