summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/DialogModel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-06 12:19:57 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 08:26:01 +0200
commite5dd156a44625865684b5dfa90a95108259deb50 (patch)
treebb0da749c95d7fb1929f2c7d8757a53e73720807 /chart2/source/controller/dialogs/DialogModel.cxx
parent4cbcec9ed4c51277b00c155a5fa097880c0dee4b (diff)
loplugin:constantparam
Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1
Diffstat (limited to 'chart2/source/controller/dialogs/DialogModel.cxx')
-rw-r--r--chart2/source/controller/dialogs/DialogModel.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx
index a6d8dcffd589..4cb14c46dd0a 100644
--- a/chart2/source/controller/dialogs/DialogModel.cxx
+++ b/chart2/source/controller/dialogs/DialogModel.cxx
@@ -737,8 +737,7 @@ void DialogModel::setData(
xInterpreter->interpretDataSource(
xDataSource, rArguments,
comphelper::containerToSequence( aSeriesToReUse )),
- aSeriesToReUse,
- true /* bSetStyles */);
+ aSeriesToReUse);
ThreeDHelper::setScheme( xDiagram, e3DScheme );
}
@@ -784,8 +783,7 @@ sal_Int32 DialogModel::GetRoleIndexForSorting( const OUString & rInternalRoleStr
void DialogModel::applyInterpretedData(
const InterpretedData & rNewData,
- const ::std::vector< Reference< XDataSeries > > & rSeriesToReUse,
- bool bSetStyles )
+ const ::std::vector< Reference< XDataSeries > > & rSeriesToReUse )
{
if( ! m_xChartDocument.is())
return;
@@ -795,7 +793,7 @@ void DialogModel::applyInterpretedData(
if( xDiagram.is())
{
// styles
- if( bSetStyles && m_xTemplate.is() )
+ if( m_xTemplate.is() )
{
sal_Int32 nGroup = 0;
sal_Int32 nSeriesCounter = 0;