summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_ChartType.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/tp_ChartType.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_ChartType.cxx23
1 files changed, 9 insertions, 14 deletions
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx
index f356a05b53b9..55feb294811b 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.cxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.cxx
@@ -56,7 +56,7 @@ public:
private:
DECL_LINK_TYPED( Dim3DLookCheckHdl, CheckBox&, void );
- DECL_LINK( SelectSchemeHdl, void* );
+ DECL_LINK_TYPED( SelectSchemeHdl, ListBox&, void );
private:
VclPtr<CheckBox> m_pCB_3DLook;
@@ -110,11 +110,10 @@ IMPL_LINK_NOARG_TYPED(Dim3DLookResourceGroup, Dim3DLookCheckHdl, CheckBox&, void
m_pChangeListener->stateChanged(this);
}
-IMPL_LINK_NOARG(Dim3DLookResourceGroup, SelectSchemeHdl)
+IMPL_LINK_NOARG_TYPED(Dim3DLookResourceGroup, SelectSchemeHdl, ListBox&, void)
{
if(m_pChangeListener)
m_pChangeListener->stateChanged(this);
- return 0;
}
class SortByXValuesResourceGroup : public ChangingResource
@@ -320,7 +319,7 @@ public:
virtual void StateChanged( StateChangedType nType ) SAL_OVERRIDE;
private:
- DECL_LINK( SplineTypeListBoxHdl, void* );
+ DECL_LINK_TYPED( SplineTypeListBoxHdl, ListBox&, void );
private:
VclPtr<ListBox> m_pLB_Spline_Type;
@@ -393,11 +392,10 @@ void SplinePropertiesDialog::fillParameter( ChartTypeParameter& rParameter, bool
rParameter.nCurveResolution = static_cast< sal_Int32 >( m_pMF_SplineResolution->GetValue());
rParameter.nSplineOrder = static_cast< sal_Int32 >( m_pMF_SplineOrder->GetValue());
}
-IMPL_LINK_NOARG(SplinePropertiesDialog, SplineTypeListBoxHdl)
+IMPL_LINK_NOARG_TYPED(SplinePropertiesDialog, SplineTypeListBoxHdl, ListBox&, void)
{
m_pFT_SplineOrder->Enable(B_SPLINE_POS == m_pLB_Spline_Type->GetSelectEntryPos());
m_pMF_SplineOrder->Enable(B_SPLINE_POS == m_pLB_Spline_Type->GetSelectEntryPos());
- return 0;
}
class SteppedPropertiesDialog : public ModalDialog
@@ -493,7 +491,7 @@ public:
void fillParameter( ChartTypeParameter& rParameter );
private:
- DECL_LINK( LineTypeChangeHdl, void* );
+ DECL_LINK_TYPED( LineTypeChangeHdl, ListBox&, void );
DECL_LINK_TYPED( SplineDetailsDialogHdl, Button*, void );
DECL_LINK_TYPED( SteppedDetailsDialogHdl, Button*, void );
SplinePropertiesDialog& getSplinePropertiesDialog();
@@ -586,11 +584,10 @@ void SplineResourceGroup::fillParameter( ChartTypeParameter& rParameter )
break;
}
}
-IMPL_LINK_NOARG(SplineResourceGroup, LineTypeChangeHdl)
+IMPL_LINK_NOARG_TYPED(SplineResourceGroup, LineTypeChangeHdl, ListBox&, void)
{
if( m_pChangeListener )
m_pChangeListener->stateChanged(this);
- return 0;
}
IMPL_LINK_NOARG_TYPED(SplineResourceGroup, SplineDetailsDialogHdl, Button*, void)
{
@@ -644,7 +641,7 @@ public:
void fillParameter( ChartTypeParameter& rParameter );
private:
- DECL_LINK( GeometryChangeHdl, void* );
+ DECL_LINK_TYPED( GeometryChangeHdl, ListBox&, void );
private:
BarGeometryResources m_aGeometryResources;
@@ -676,11 +673,10 @@ void GeometryResourceGroup::fillParameter( ChartTypeParameter& rParameter )
rParameter.nGeometry3D = m_aGeometryResources.GetSelectEntryPos();
}
-IMPL_LINK_NOARG(GeometryResourceGroup, GeometryChangeHdl)
+IMPL_LINK_NOARG_TYPED(GeometryResourceGroup, GeometryChangeHdl, ListBox&, void)
{
if( m_pChangeListener )
m_pChangeListener->stateChanged(this);
- return 0;
}
ChartTypeTabPage::ChartTypeTabPage(vcl::Window* pParent
@@ -891,10 +887,9 @@ IMPL_LINK_NOARG_TYPED(ChartTypeTabPage, SelectSubTypeHdl, ValueSet*, void)
}
}
-IMPL_LINK_NOARG(ChartTypeTabPage, SelectMainTypeHdl)
+IMPL_LINK_NOARG_TYPED(ChartTypeTabPage, SelectMainTypeHdl, ListBox&, void)
{
selectMainType();
- return 0;
}
void ChartTypeTabPage::selectMainType()