diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-22 09:52:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-22 14:34:21 +0200 |
commit | db8067145f0126402be39042934e11228a1b42e9 (patch) | |
tree | 0a9d18faaf0c862cc544e6a991b32a68bbb40e28 /chart2/source/controller | |
parent | 14420e83296fd393cba956047370564c3517cdae (diff) |
loplugin:write only fields
Change-Id: I44f249a17d0a510ec63a488b656d57a1a392f821
Diffstat (limited to 'chart2/source/controller')
-rw-r--r-- | chart2/source/controller/dialogs/DataBrowserModel.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx index 599dcc34ecd6..b16c6ccf941c 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.cxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx @@ -217,24 +217,21 @@ bool lcl_ShowCategoriesAsDataLabel( const Reference< chart2::XDiagram > & xDiagr struct DataBrowserModel::tDataColumn { uno::Reference<chart2::XDataSeries> m_xDataSeries; - sal_Int32 m_nIndexInDataSeries; OUString m_aUIRoleName; uno::Reference<chart2::data::XLabeledDataSequence> m_xLabeledDataSequence; eCellType m_eCellType; sal_Int32 m_nNumberFormatKey; // default CTOR - tDataColumn() : m_nIndexInDataSeries( -1 ), m_eCellType( TEXT ), m_nNumberFormatKey( 0 ) {} + tDataColumn() : m_eCellType( TEXT ), m_nNumberFormatKey( 0 ) {} // "full" CTOR tDataColumn( const uno::Reference<chart2::XDataSeries> & xDataSeries, - sal_Int32 nIndexInDataSeries, const OUString& aUIRoleName, const uno::Reference<chart2::data::XLabeledDataSequence>& xLabeledDataSequence, eCellType aCellType, sal_Int32 nNumberFormatKey ) : m_xDataSeries( xDataSeries ), - m_nIndexInDataSeries( nIndexInDataSeries ), m_aUIRoleName( aUIRoleName ), m_xLabeledDataSequence( xLabeledDataSequence ), m_eCellType( aCellType ), @@ -893,7 +890,6 @@ void DataBrowserModel::updateFromModel() m_aColumns.push_back( tDataColumn( aSeries[nSeriesIdx], - nSeqIdx, lcl_getUIRoleName( aLSeqs[nSeqIdx] ), aLSeqs[nSeqIdx], NUMBER, @@ -973,7 +969,6 @@ void DataBrowserModel::addErrorBarRanges( m_aColumns.push_back( tDataColumn( xDataSeries, - rInOutSequenceIndex, lcl_getUIRoleName( *aIt ), *aIt, NUMBER, |