summaryrefslogtreecommitdiff
path: root/chart2/source/model/main
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-17 09:32:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-22 11:16:54 +0200
commit51b49228ee7d3bb9788b7ff44e2c1737caa63818 (patch)
tree08a810a27a463537c86a56773adb1e32dc2f03f4 /chart2/source/model/main
parente129d1ae092e3605656ca4c58be3b77495444e5f (diff)
loplugin:unusedfields in avmedia..comphelper
Change-Id: I74f125103b67c506d9bb67537e4c4cd3f8f871da Reviewed-on: https://gerrit.libreoffice.org/54641 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/main')
-rw-r--r--chart2/source/model/main/BaseCoordinateSystem.cxx7
-rw-r--r--chart2/source/model/main/StockBar.cxx4
2 files changed, 2 insertions, 9 deletions
diff --git a/chart2/source/model/main/BaseCoordinateSystem.cxx b/chart2/source/model/main/BaseCoordinateSystem.cxx
index 04782bde3757..dabba0889268 100644
--- a/chart2/source/model/main/BaseCoordinateSystem.cxx
+++ b/chart2/source/model/main/BaseCoordinateSystem.cxx
@@ -144,10 +144,6 @@ BaseCoordinateSystem::BaseCoordinateSystem(
xAxis->setScaleData( aScaleData );
}
- m_aOrigin.realloc( m_nDimensionCount );
- for( sal_Int32 i = 0; i < m_nDimensionCount; ++i )
- m_aOrigin[ i ] <<= 0.0;
-
setFastPropertyValue_NoBroadcast( PROP_COORDINATESYSTEM_SWAPXANDYAXIS, uno::Any( false ));
}
@@ -158,8 +154,7 @@ BaseCoordinateSystem::BaseCoordinateSystem(
MutexContainer(),
::property::OPropertySet( rSource, m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder()),
- m_nDimensionCount( rSource.m_nDimensionCount ),
- m_aOrigin( rSource.m_aOrigin )
+ m_nDimensionCount( rSource.m_nDimensionCount )
{
m_aAllAxis.resize(rSource.m_aAllAxis.size());
tAxisVecVecType::size_type nN=0;
diff --git a/chart2/source/model/main/StockBar.cxx b/chart2/source/model/main/StockBar.cxx
index a9b2ff2cc8a2..2f7a534b23ce 100644
--- a/chart2/source/model/main/StockBar.cxx
+++ b/chart2/source/model/main/StockBar.cxx
@@ -111,10 +111,9 @@ namespace chart
StockBar::StockBar( bool bRisingCourse ) :
::property::OPropertySet( m_aMutex ),
- m_bRisingCourse( bRisingCourse ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{
- if( ! m_bRisingCourse )
+ if( ! bRisingCourse )
{
setFastPropertyValue_NoBroadcast(
::chart::FillProperties::PROP_FILL_COLOR,
@@ -129,7 +128,6 @@ StockBar::StockBar( const StockBar & rOther ) :
MutexContainer(),
impl::StockBar_Base(),
::property::OPropertySet( rOther, m_aMutex ),
- m_bRisingCourse( rOther.m_bRisingCourse ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder())
{}