From d99b65c864cc3358238e4eac651f12a34d05e2d9 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 14 Sep 2017 16:57:06 +0200 Subject: Rename GetSelectEntryPos -> GetSelectedEntryPos Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4 Reviewed-on: https://gerrit.libreoffice.org/42283 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- .../source/controller/dialogs/res_BarGeometry.cxx | 4 ++-- .../source/controller/dialogs/res_BarGeometry.hxx | 2 +- chart2/source/controller/dialogs/res_DataLabel.cxx | 4 ++-- chart2/source/controller/dialogs/res_ErrorBar.cxx | 6 ++--- .../controller/dialogs/tp_3D_SceneAppearance.cxx | 4 ++-- .../source/controller/dialogs/tp_AxisPositions.cxx | 14 +++++------ chart2/source/controller/dialogs/tp_ChartType.cxx | 28 +++++++++++----------- .../source/controller/dialogs/tp_PointGeometry.cxx | 2 +- chart2/source/controller/dialogs/tp_Scale.cxx | 10 ++++---- chart2/source/controller/main/ElementSelector.cxx | 2 +- .../source/controller/sidebar/ChartAxisPanel.cxx | 2 +- .../controller/sidebar/ChartElementsPanel.cxx | 2 +- .../controller/sidebar/ChartErrorBarPanel.cxx | 2 +- .../source/controller/sidebar/ChartSeriesPanel.cxx | 2 +- 14 files changed, 42 insertions(+), 42 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/res_BarGeometry.cxx b/chart2/source/controller/dialogs/res_BarGeometry.cxx index f3602e44b536..b870fd1471c8 100644 --- a/chart2/source/controller/dialogs/res_BarGeometry.cxx +++ b/chart2/source/controller/dialogs/res_BarGeometry.cxx @@ -49,9 +49,9 @@ sal_Int32 BarGeometryResources::GetSelectEntryCount() const return m_pLB_Geometry->GetSelectEntryCount(); } -sal_Int32 BarGeometryResources::GetSelectEntryPos() const +sal_Int32 BarGeometryResources::GetSelectedEntryPos() const { - return m_pLB_Geometry->GetSelectEntryPos(); + return m_pLB_Geometry->GetSelectedEntryPos(); } void BarGeometryResources::SelectEntryPos(sal_Int32 nPos) diff --git a/chart2/source/controller/dialogs/res_BarGeometry.hxx b/chart2/source/controller/dialogs/res_BarGeometry.hxx index 31936724669f..b0f4535cb9a1 100644 --- a/chart2/source/controller/dialogs/res_BarGeometry.hxx +++ b/chart2/source/controller/dialogs/res_BarGeometry.hxx @@ -35,7 +35,7 @@ public: void Enable( bool bEnable ); sal_Int32 GetSelectEntryCount() const; - sal_Int32 GetSelectEntryPos() const; + sal_Int32 GetSelectedEntryPos() const; void SelectEntryPos(sal_Int32 nPos); void SetSelectHdl( const Link& rLink ); diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index d04eed5a484e..254eef40ee70 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -295,10 +295,10 @@ bool DataLabelResources::FillItemSet( SfxItemSet* rOutAttrs ) const if( m_pCBWrapText->GetState()!= TRISTATE_INDET ) rOutAttrs->Put( SfxBoolItem( SCHATTR_DATADESCR_WRAP_TEXT, m_pCBWrapText->IsChecked()) ); - OUString aSep = our_aLBEntryMap[m_pLB_Separator->GetSelectEntryPos()]; + OUString aSep = our_aLBEntryMap[m_pLB_Separator->GetSelectedEntryPos()]; rOutAttrs->Put( SfxStringItem( SCHATTR_DATADESCR_SEPARATOR, aSep) ); - std::map< sal_uInt16, sal_Int32 >::const_iterator aIt( m_aListBoxToPlacementMap.find(m_pLB_LabelPlacement->GetSelectEntryPos()) ); + std::map< sal_uInt16, sal_Int32 >::const_iterator aIt( m_aListBoxToPlacementMap.find(m_pLB_LabelPlacement->GetSelectedEntryPos()) ); if(aIt!=m_aListBoxToPlacementMap.end()) { sal_Int32 nValue = aIt->second; diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 9a0c7ff53fee..45783bb1db2f 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -254,7 +254,7 @@ void ErrorBarResources::UpdateControlStates() // unit for metric fields bool bIsErrorMargin( ( m_pRbFunction->IsChecked()) && - ( m_pLbFunction->GetSelectEntryPos() == CHART_LB_FUNCTION_ERROR_MARGIN )); + ( m_pLbFunction->GetSelectedEntryPos() == CHART_LB_FUNCTION_ERROR_MARGIN )); bool bIsPercentage( m_pRbPercent->IsChecked() || bIsErrorMargin ); FieldUnit eFieldUnit = FUNIT_NONE; @@ -308,7 +308,7 @@ void ErrorBarResources::UpdateControlStates() } // all functions except error margin take no arguments - if( m_pRbFunction->IsChecked() && ( m_pLbFunction->GetSelectEntryPos() != CHART_LB_FUNCTION_ERROR_MARGIN )) + if( m_pRbFunction->IsChecked() && ( m_pLbFunction->GetSelectedEntryPos() != CHART_LB_FUNCTION_ERROR_MARGIN )) { bPosEnabled = false; bNegEnabled = false; @@ -362,7 +362,7 @@ IMPL_LINK_NOARG( ErrorBarResources, CategoryChosen, Button*, void ) { if( m_pLbFunction->GetSelectEntryCount() == 1 ) { - switch( m_pLbFunction->GetSelectEntryPos()) + switch( m_pLbFunction->GetSelectedEntryPos()) { case CHART_LB_FUNCTION_STD_ERROR: m_eErrorKind = SvxChartKindError::StdError; break; diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx index 9863f5ea615e..2a6589f07960 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx @@ -302,9 +302,9 @@ IMPL_LINK_NOARG(ThreeD_SceneAppearance_TabPage, SelectSchemeHdl, ListBox&, void) uno::Reference< chart2::XDiagram > xDiagram( ::chart::ChartModelHelper::findDiagram( m_xChartModel ) ); - if( m_pLB_Scheme->GetSelectEntryPos() == POS_3DSCHEME_REALISTIC ) + if( m_pLB_Scheme->GetSelectedEntryPos() == POS_3DSCHEME_REALISTIC ) ThreeDHelper::setScheme( xDiagram, ThreeDLookScheme_Realistic ); - else if( m_pLB_Scheme->GetSelectEntryPos() == POS_3DSCHEME_SIMPLE ) + else if( m_pLB_Scheme->GetSelectedEntryPos() == POS_3DSCHEME_SIMPLE ) ThreeDHelper::setScheme( xDiagram, ThreeDLookScheme_Simple ); else { diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx index 6998113199cb..3027e3514fdd 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx @@ -116,18 +116,18 @@ VclPtr AxisPositionsTabPage::Create(vcl::Window* pWindow,const SfxIt bool AxisPositionsTabPage::FillItemSet(SfxItemSet* rOutAttrs) { // axis line - sal_Int32 nPos = m_pLB_CrossesAt->GetSelectEntryPos(); + sal_Int32 nPos = m_pLB_CrossesAt->GetSelectedEntryPos(); rOutAttrs->Put( SfxInt32Item( SCHATTR_AXIS_POSITION, nPos+1 )); if( nPos==2 ) { double fCrossover = m_pED_CrossesAt->GetValue(); if( m_bCrossingAxisIsCategoryAxis ) - fCrossover = m_pED_CrossesAtCategory->GetSelectEntryPos()+1; + fCrossover = m_pED_CrossesAtCategory->GetSelectedEntryPos()+1; rOutAttrs->Put(SvxDoubleItem(fCrossover,SCHATTR_AXIS_POSITION_VALUE)); } // labels - sal_Int32 nLabelPos = m_pLB_PlaceLabels->GetSelectEntryPos(); + sal_Int32 nLabelPos = m_pLB_PlaceLabels->GetSelectedEntryPos(); if( nLabelPos != LISTBOX_ENTRY_NOTFOUND ) rOutAttrs->Put( SfxInt32Item( SCHATTR_AXIS_LABEL_POSITION, nLabelPos )); @@ -147,7 +147,7 @@ bool AxisPositionsTabPage::FillItemSet(SfxItemSet* rOutAttrs) rOutAttrs->Put(SfxInt32Item(SCHATTR_AXIS_TICKS,nTicks)); rOutAttrs->Put(SfxInt32Item(SCHATTR_AXIS_HELPTICKS,nMinorTicks)); - sal_Int32 nMarkPos = m_pLB_PlaceTicks->GetSelectEntryPos(); + sal_Int32 nMarkPos = m_pLB_PlaceTicks->GetSelectedEntryPos(); if( nMarkPos != LISTBOX_ENTRY_NOTFOUND ) rOutAttrs->Put( SfxInt32Item( SCHATTR_AXIS_MARK_POSITION, nMarkPos )); @@ -315,7 +315,7 @@ void AxisPositionsTabPage::SupportAxisPositioning( bool bSupportAxisPositioning IMPL_LINK_NOARG(AxisPositionsTabPage, CrossesAtSelectHdl, ListBox&, void) { - sal_Int32 nPos = m_pLB_CrossesAt->GetSelectEntryPos(); + sal_Int32 nPos = m_pLB_CrossesAt->GetSelectedEntryPos(); m_pED_CrossesAt->Show( (nPos==2) && !m_bCrossingAxisIsCategoryAxis ); m_pED_CrossesAtCategory->Show( (nPos==2) && m_bCrossingAxisIsCategoryAxis ); @@ -329,12 +329,12 @@ IMPL_LINK_NOARG(AxisPositionsTabPage, CrossesAtSelectHdl, ListBox&, void) IMPL_LINK_NOARG(AxisPositionsTabPage, PlaceLabelsSelectHdl, ListBox&, void) { - sal_Int32 nLabelPos = m_pLB_PlaceLabels->GetSelectEntryPos(); + sal_Int32 nLabelPos = m_pLB_PlaceLabels->GetSelectedEntryPos(); bool bEnableTickmarkPlacement = (nLabelPos>1); if( bEnableTickmarkPlacement ) { - sal_Int32 nAxisPos = m_pLB_CrossesAt->GetSelectEntryPos(); + sal_Int32 nAxisPos = m_pLB_CrossesAt->GetSelectedEntryPos(); if( nLabelPos-2 == nAxisPos ) bEnableTickmarkPlacement=false; } diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 795571f6e569..b741b0812ce8 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -95,7 +95,7 @@ void Dim3DLookResourceGroup::fillControls( const ChartTypeParameter& rParameter void Dim3DLookResourceGroup::fillParameter( ChartTypeParameter& rParameter ) { rParameter.b3DLook = m_pCB_3DLook->IsChecked(); - const sal_Int32 nPos = m_pLB_Scheme->GetSelectEntryPos(); + const sal_Int32 nPos = m_pLB_Scheme->GetSelectedEntryPos(); if( nPos == POS_3DSCHEME_SIMPLE ) rParameter.eThreeDLookScheme = ThreeDLookScheme_Simple; else if( nPos == POS_3DSCHEME_REALISTIC ) @@ -366,16 +366,16 @@ void SplinePropertiesDialog::fillControls( const ChartTypeParameter& rParameter m_pMF_SplineResolution->SetValue( rParameter.nCurveResolution ); //dis/enabling - m_pFT_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectEntryPos() == B_SPLINE_POS); - m_pMF_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectEntryPos() == B_SPLINE_POS); + m_pFT_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectedEntryPos() == B_SPLINE_POS); + m_pMF_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectedEntryPos() == B_SPLINE_POS); } void SplinePropertiesDialog::fillParameter( ChartTypeParameter& rParameter, bool bSmoothLines ) { if(!bSmoothLines) rParameter.eCurveStyle=CurveStyle_LINES; - else if(m_pLB_Spline_Type->GetSelectEntryPos() == CUBIC_SPLINE_POS) + else if(m_pLB_Spline_Type->GetSelectedEntryPos() == CUBIC_SPLINE_POS) rParameter.eCurveStyle=CurveStyle_CUBIC_SPLINES; - else if(m_pLB_Spline_Type->GetSelectEntryPos() == B_SPLINE_POS) + else if(m_pLB_Spline_Type->GetSelectedEntryPos() == B_SPLINE_POS) rParameter.eCurveStyle=CurveStyle_B_SPLINES; rParameter.nCurveResolution = static_cast< sal_Int32 >( m_pMF_SplineResolution->GetValue()); @@ -383,8 +383,8 @@ void SplinePropertiesDialog::fillParameter( ChartTypeParameter& rParameter, bool } IMPL_LINK_NOARG(SplinePropertiesDialog, SplineTypeListBoxHdl, ListBox&, void) { - m_pFT_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectEntryPos() == B_SPLINE_POS); - m_pMF_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectEntryPos() == B_SPLINE_POS); + m_pFT_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectedEntryPos() == B_SPLINE_POS); + m_pMF_SplineOrder->Enable(m_pLB_Spline_Type->GetSelectedEntryPos() == B_SPLINE_POS); } class SteppedPropertiesDialog : public ModalDialog @@ -551,7 +551,7 @@ void SplineResourceGroup::fillControls( const ChartTypeParameter& rParameter ) } void SplineResourceGroup::fillParameter( ChartTypeParameter& rParameter ) { - switch (m_pLB_LineType->GetSelectEntryPos()) + switch (m_pLB_LineType->GetSelectedEntryPos()) { case POS_LINETYPE_SMOOTH: getSplinePropertiesDialog().fillParameter( rParameter, true ); @@ -573,9 +573,9 @@ IMPL_LINK_NOARG(SplineResourceGroup, SplineDetailsDialogHdl, Button*, void) { ChartTypeParameter aOldParameter; - getSplinePropertiesDialog().fillParameter( aOldParameter, m_pLB_LineType->GetSelectEntryPos() == POS_LINETYPE_SMOOTH ); + getSplinePropertiesDialog().fillParameter( aOldParameter, m_pLB_LineType->GetSelectedEntryPos() == POS_LINETYPE_SMOOTH ); - const sal_Int32 iOldLineTypePos = m_pLB_LineType->GetSelectEntryPos(); + const sal_Int32 iOldLineTypePos = m_pLB_LineType->GetSelectedEntryPos(); m_pLB_LineType->SelectEntryPos(POS_LINETYPE_SMOOTH); if( getSplinePropertiesDialog().Execute() == RET_OK ) { @@ -593,9 +593,9 @@ IMPL_LINK_NOARG(SplineResourceGroup, SteppedDetailsDialogHdl, Button*, void) { ChartTypeParameter aOldParameter; - getSteppedPropertiesDialog().fillParameter( aOldParameter, m_pLB_LineType->GetSelectEntryPos() == POS_LINETYPE_STEPPED ); + getSteppedPropertiesDialog().fillParameter( aOldParameter, m_pLB_LineType->GetSelectedEntryPos() == POS_LINETYPE_STEPPED ); - const sal_Int32 iOldLineTypePos = m_pLB_LineType->GetSelectEntryPos(); + const sal_Int32 iOldLineTypePos = m_pLB_LineType->GetSelectedEntryPos(); m_pLB_LineType->SelectEntryPos(POS_LINETYPE_STEPPED); if( getSteppedPropertiesDialog().Execute() == RET_OK ) { @@ -650,7 +650,7 @@ void GeometryResourceGroup::fillParameter( ChartTypeParameter& rParameter ) { rParameter.nGeometry3D = 1; if( m_aGeometryResources.GetSelectEntryCount() ) - rParameter.nGeometry3D = m_aGeometryResources.GetSelectEntryPos(); + rParameter.nGeometry3D = m_aGeometryResources.GetSelectedEntryPos(); } IMPL_LINK_NOARG(GeometryResourceGroup, GeometryChangeHdl, ListBox&, void) @@ -847,7 +847,7 @@ ChartTypeDialogController* ChartTypeTabPage::getSelectedMainType() { ChartTypeDialogController* pTypeController = nullptr; std::vector< ChartTypeDialogController* >::size_type nM = static_cast< std::vector< ChartTypeDialogController* >::size_type >( - m_pMainTypeList->GetSelectEntryPos() ); + m_pMainTypeList->GetSelectedEntryPos() ); if( nMGetSelectEntryPos(); + long nShape = m_pGeometryResources->GetSelectedEntryPos(); if(nShape==CHART_SHAPE3D_PYRAMID) nSegs=4; diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx index 6f72cfaf3f4d..2a24efedfe11 100644 --- a/chart2/source/controller/dialogs/tp_Scale.cxx +++ b/chart2/source/controller/dialogs/tp_Scale.cxx @@ -254,7 +254,7 @@ enum AxisTypeListBoxEntry IMPL_LINK_NOARG(ScaleTabPage, SelectAxisTypeHdl, ListBox&, void) { - const sal_Int32 nPos = m_pLB_AxisType->GetSelectEntryPos(); + const sal_Int32 nPos = m_pLB_AxisType->GetSelectedEntryPos(); if( nPos==TYPE_DATE ) m_nAxisType = chart2::AxisType::DATE; else @@ -276,7 +276,7 @@ bool ScaleTabPage::FillItemSet(SfxItemSet* rOutAttrs) rOutAttrs->Put(SfxInt32Item(SCHATTR_AXISTYPE, m_nAxisType)); if(m_bAllowDateAxis) - rOutAttrs->Put(SfxBoolItem(SCHATTR_AXIS_AUTO_DATEAXIS, m_pLB_AxisType->GetSelectEntryPos()==TYPE_AUTO)); + rOutAttrs->Put(SfxBoolItem(SCHATTR_AXIS_AUTO_DATEAXIS, m_pLB_AxisType->GetSelectedEntryPos()==TYPE_AUTO)); bool bAutoScale = false; if( m_nAxisType==chart2::AxisType::CATEGORY ) @@ -438,9 +438,9 @@ DeactivateRC ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet) fOrigin = m_pFmtFldOrigin->GetValue(); fStepMain = bDateAxis ? m_pMt_MainDateStep->GetValue() : m_pFmtFldStepMain->GetValue(); nStepHelp = static_cast< sal_Int32 >( m_pMtStepHelp->GetValue()); - m_nTimeResolution = m_pLB_TimeResolution->GetSelectEntryPos(); - m_nMainTimeUnit = m_pLB_MainTimeUnit->GetSelectEntryPos(); - m_nHelpTimeUnit = m_pLB_HelpTimeUnit->GetSelectEntryPos(); + m_nTimeResolution = m_pLB_TimeResolution->GetSelectedEntryPos(); + m_nMainTimeUnit = m_pLB_MainTimeUnit->GetSelectedEntryPos(); + m_nHelpTimeUnit = m_pLB_HelpTimeUnit->GetSelectedEntryPos(); if( m_nAxisType != chart2::AxisType::REALNUMBER ) m_pCbxLogarithm->Show( false ); diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx index c4d1ef375c2b..b2c2dd7c7737 100644 --- a/chart2/source/controller/main/ElementSelector.cxx +++ b/chart2/source/controller/main/ElementSelector.cxx @@ -187,7 +187,7 @@ void SelectorListBox::Select() if ( !IsTravelSelect() ) { - const sal_Int32 nPos = GetSelectEntryPos(); + const sal_Int32 nPos = GetSelectedEntryPos(); if( static_cast(nPos) < m_aEntries.size() ) { ObjectIdentifier aOID = m_aEntries[nPos].OID; diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.cxx b/chart2/source/controller/sidebar/ChartAxisPanel.cxx index cfad4732a591..baa15ff75ffb 100644 --- a/chart2/source/controller/sidebar/ChartAxisPanel.cxx +++ b/chart2/source/controller/sidebar/ChartAxisPanel.cxx @@ -374,7 +374,7 @@ IMPL_LINK(ChartAxisPanel, CheckBoxHdl, Button*, pButton, void) IMPL_LINK_NOARG(ChartAxisPanel, ListBoxHdl, ListBox&, void) { OUString aCID = getCID(mxModel); - sal_Int32 nPos = mpLBLabelPos->GetSelectEntryPos(); + sal_Int32 nPos = mpLBLabelPos->GetSelectedEntryPos(); setLabelPosition(mxModel, aCID, nPos); } diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.cxx b/chart2/source/controller/sidebar/ChartElementsPanel.cxx index 39607513f4f8..ae27888d4d86 100644 --- a/chart2/source/controller/sidebar/ChartElementsPanel.cxx +++ b/chart2/source/controller/sidebar/ChartElementsPanel.cxx @@ -579,7 +579,7 @@ IMPL_LINK(ChartElementsPanel, CheckBoxHdl, Button*, pButton, void) IMPL_LINK_NOARG(ChartElementsPanel, LegendPosHdl, ListBox&, void) { - sal_Int32 nPos = mpLBLegendPosition->GetSelectEntryPos(); + sal_Int32 nPos = mpLBLegendPosition->GetSelectedEntryPos(); setLegendPos(mxModel, nPos); } diff --git a/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx b/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx index 95100060cfb0..b4d68caee4d0 100644 --- a/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx +++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx @@ -419,7 +419,7 @@ IMPL_LINK_NOARG(ChartErrorBarPanel, RadioBtnHdl, RadioButton&, void) IMPL_LINK_NOARG(ChartErrorBarPanel, ListBoxHdl, ListBox&, void) { OUString aCID = getCID(mxModel); - sal_Int32 nPos = mpLBType->GetSelectEntryPos(); + sal_Int32 nPos = mpLBType->GetSelectedEntryPos(); setTypePos(mxModel, aCID, nPos); } diff --git a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx index 07cf968c2e7b..9d58aecbdcd5 100644 --- a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx +++ b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx @@ -478,7 +478,7 @@ IMPL_LINK_NOARG(ChartSeriesPanel, ListBoxHdl, ListBox&, void) { OUString aCID = getCID(mxModel); - sal_Int32 nPos = mpLBLabelPlacement->GetSelectEntryPos(); + sal_Int32 nPos = mpLBLabelPlacement->GetSelectedEntryPos(); setDataLabelPlacement(mxModel, aCID, nPos); } -- cgit v1.2.3