summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-14 17:00:06 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-25 10:00:46 +0200
commit83de03e077d219c881626de43960ae4756284371 (patch)
tree2d582083e3c060139699b075565f55f872edb7b1 /chart2/source
parent4d5e9db574bdb1a7517ffda01efe0746cc058d47 (diff)
Rename GetSelectEntryCount -> GetSelectedEntryCount
Change-Id: I405b347b404ed0acb3b6a0204e0b914a7698ce25 Reviewed-on: https://gerrit.libreoffice.org/42284 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/dialogs/res_BarGeometry.cxx4
-rw-r--r--chart2/source/controller/dialogs/res_BarGeometry.hxx2
-rw-r--r--chart2/source/controller/dialogs/res_DataLabel.cxx2
-rw-r--r--chart2/source/controller/dialogs/res_ErrorBar.cxx2
-rw-r--r--chart2/source/controller/dialogs/tp_AxisLabel.cxx2
-rw-r--r--chart2/source/controller/dialogs/tp_AxisPositions.cxx2
-rw-r--r--chart2/source/controller/dialogs/tp_ChartType.cxx2
-rw-r--r--chart2/source/controller/dialogs/tp_LegendPosition.cxx2
-rw-r--r--chart2/source/controller/dialogs/tp_PointGeometry.cxx2
9 files changed, 10 insertions, 10 deletions
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.cxx b/chart2/source/controller/dialogs/res_BarGeometry.cxx
index b870fd1471c8..3e3fd52be485 100644
--- a/chart2/source/controller/dialogs/res_BarGeometry.cxx
+++ b/chart2/source/controller/dialogs/res_BarGeometry.cxx
@@ -44,9 +44,9 @@ void BarGeometryResources::Enable( bool bEnable )
m_pLB_Geometry->Enable( bEnable );
}
-sal_Int32 BarGeometryResources::GetSelectEntryCount() const
+sal_Int32 BarGeometryResources::GetSelectedEntryCount() const
{
- return m_pLB_Geometry->GetSelectEntryCount();
+ return m_pLB_Geometry->GetSelectedEntryCount();
}
sal_Int32 BarGeometryResources::GetSelectedEntryPos() const
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.hxx b/chart2/source/controller/dialogs/res_BarGeometry.hxx
index b0f4535cb9a1..1edf1a5d1472 100644
--- a/chart2/source/controller/dialogs/res_BarGeometry.hxx
+++ b/chart2/source/controller/dialogs/res_BarGeometry.hxx
@@ -34,7 +34,7 @@ public:
void Show( bool bShow );
void Enable( bool bEnable );
- sal_Int32 GetSelectEntryCount() const;
+ sal_Int32 GetSelectedEntryCount() const;
sal_Int32 GetSelectedEntryPos() const;
void SelectEntryPos(sal_Int32 nPos);
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index 254eef40ee70..5bbb72604e63 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.cxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.cxx
@@ -305,7 +305,7 @@ bool DataLabelResources::FillItemSet( SfxItemSet* rOutAttrs ) const
rOutAttrs->Put( SfxInt32Item( SCHATTR_DATADESCR_PLACEMENT, nValue ) );
}
- if( m_pLB_TextDirection->GetSelectEntryCount() > 0 )
+ if( m_pLB_TextDirection->GetSelectedEntryCount() > 0 )
rOutAttrs->Put( SvxFrameDirectionItem( m_pLB_TextDirection->GetSelectEntryValue(), EE_PARA_WRITINGDIR ) );
if( m_pDC_Dial->IsVisible() )
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx
index 45783bb1db2f..fc3975a6e3e8 100644
--- a/chart2/source/controller/dialogs/res_ErrorBar.cxx
+++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx
@@ -360,7 +360,7 @@ IMPL_LINK_NOARG( ErrorBarResources, CategoryChosen, Button*, void )
m_eErrorKind = SvxChartKindError::Range;
else if( m_pRbFunction->IsChecked())
{
- if( m_pLbFunction->GetSelectEntryCount() == 1 )
+ if( m_pLbFunction->GetSelectedEntryCount() == 1 )
{
switch( m_pLbFunction->GetSelectedEntryPos())
{
diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index 0527e080c184..c5cfab8e7e0e 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -148,7 +148,7 @@ bool SchAxisLabelTabPage::FillItemSet( SfxItemSet* rOutAttrs )
if( m_pCbShowDescription->GetState() != TRISTATE_INDET )
rOutAttrs->Put( SfxBoolItem( SCHATTR_AXIS_SHOWDESCR, m_pCbShowDescription->IsChecked() ) );
- if( m_pLbTextDirection->GetSelectEntryCount() > 0 )
+ if( m_pLbTextDirection->GetSelectedEntryCount() > 0 )
rOutAttrs->Put( SvxFrameDirectionItem( m_pLbTextDirection->GetSelectEntryValue(), EE_PARA_WRITINGDIR ) );
return true;
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
index 3027e3514fdd..3ab0932585f4 100644
--- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
@@ -321,7 +321,7 @@ IMPL_LINK_NOARG(AxisPositionsTabPage, CrossesAtSelectHdl, ListBox&, void)
if( m_pED_CrossesAt->GetText().isEmpty() )
m_pED_CrossesAt->SetValue(0.0);
- if( m_pED_CrossesAtCategory->GetSelectEntryCount() == 0 )
+ if( m_pED_CrossesAtCategory->GetSelectedEntryCount() == 0 )
m_pED_CrossesAtCategory->SelectEntryPos(0);
PlaceLabelsSelectHdl( *m_pLB_PlaceLabels );
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx
index b741b0812ce8..a38fd7426d0d 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.cxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.cxx
@@ -649,7 +649,7 @@ void GeometryResourceGroup::fillControls( const ChartTypeParameter& rParameter )
void GeometryResourceGroup::fillParameter( ChartTypeParameter& rParameter )
{
rParameter.nGeometry3D = 1;
- if( m_aGeometryResources.GetSelectEntryCount() )
+ if( m_aGeometryResources.GetSelectedEntryCount() )
rParameter.nGeometry3D = m_aGeometryResources.GetSelectedEntryPos();
}
diff --git a/chart2/source/controller/dialogs/tp_LegendPosition.cxx b/chart2/source/controller/dialogs/tp_LegendPosition.cxx
index b36163dfda7c..4e6518154a70 100644
--- a/chart2/source/controller/dialogs/tp_LegendPosition.cxx
+++ b/chart2/source/controller/dialogs/tp_LegendPosition.cxx
@@ -62,7 +62,7 @@ bool SchLegendPosTabPage::FillItemSet(SfxItemSet* rOutAttrs)
{
m_aLegendPositionResources.writeToItemSet(*rOutAttrs);
- if( m_pLbTextDirection->GetSelectEntryCount() > 0 )
+ if( m_pLbTextDirection->GetSelectedEntryCount() > 0 )
rOutAttrs->Put( SvxFrameDirectionItem( m_pLbTextDirection->GetSelectEntryValue(), EE_PARA_WRITINGDIR ) );
return true;
diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
index 1004a9ab6dee..6d6240e89bc9 100644
--- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx
+++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx
@@ -58,7 +58,7 @@ VclPtr<SfxTabPage> SchLayoutTabPage::Create(vcl::Window* pWindow,
bool SchLayoutTabPage::FillItemSet(SfxItemSet* rOutAttrs)
{
- if(m_pGeometryResources && m_pGeometryResources->GetSelectEntryCount())
+ if(m_pGeometryResources && m_pGeometryResources->GetSelectedEntryCount())
{
long nSegs=32;