diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-28 15:27:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 06:42:30 +0000 |
commit | 5a725d1fde7381ef9c02afcb639235a11e52182c (patch) | |
tree | c1dfea787afb28c43be74eb981976e858550ccd1 /chart2 | |
parent | 2729994bc519597db205aeeb4b2242a45c57712f (diff) |
loplugin:singlevalfields
Change-Id: I7f05903aaab9b0b274358243d680d0c30694ae61
Reviewed-on: https://gerrit.libreoffice.org/35804
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/inc/ChartModel.hxx | 1 | ||||
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx index 04e3be2b6ee3..29b764b6c546 100644 --- a/chart2/inc/ChartModel.hxx +++ b/chart2/inc/ChartModel.hxx @@ -476,7 +476,6 @@ public: private: sal_Int32 mnStart; sal_Int32 mnEnd; - bool bSet; #if HAVE_FEATURE_OPENGL VclPtr<OpenGLWindow> mpOpenGLWindow; #endif diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index fe8ada3639d0..814bd315928b 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -109,7 +109,6 @@ ChartModel::ChartModel(uno::Reference<uno::XComponentContext > const & xContext) "com.sun.star.xml.NamespaceMap", "com.sun.star.comp.chart.XMLNameSpaceMap" ), uno::UNO_QUERY) , mnStart(0) , mnEnd(0) - , bSet(false) #if HAVE_FEATURE_OPENGL , mpOpenGLWindow(nullptr) #endif @@ -154,7 +153,6 @@ ChartModel::ChartModel( const ChartModel & rOther ) , m_xInternalDataProvider( rOther.m_xInternalDataProvider ) , mnStart(rOther.mnStart) , mnEnd(rOther.mnEnd) - , bSet(false) #if HAVE_FEATURE_OPENGL , mpOpenGLWindow(nullptr) #endif @@ -1322,7 +1320,6 @@ OUString SAL_CALL ChartModel::dump() void ChartModel::setTimeBasedRange(sal_Int32 nStart, sal_Int32 nEnd) { - bSet = false; mnStart = nStart; mnEnd = nEnd; mbTimeBased = true; |