Kaydet (Commit) b7c3e851 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Turn this into a regular method.

Change-Id: Idb4dc17971cd37a4cdf99b2c02e61fca14cb3ce2
üst 45c98588
...@@ -828,6 +828,12 @@ IMPL_LINK_NOARG(ChartTypeTabPage, SelectSubTypeHdl) ...@@ -828,6 +828,12 @@ IMPL_LINK_NOARG(ChartTypeTabPage, SelectSubTypeHdl)
} }
IMPL_LINK_NOARG(ChartTypeTabPage, SelectMainTypeHdl) IMPL_LINK_NOARG(ChartTypeTabPage, SelectMainTypeHdl)
{
selectMainType();
return 0;
}
void ChartTypeTabPage::selectMainType()
{ {
ChartTypeParameter aParameter( this->getCurrentParamter() ); ChartTypeParameter aParameter( this->getCurrentParamter() );
...@@ -855,7 +861,6 @@ IMPL_LINK_NOARG(ChartTypeTabPage, SelectMainTypeHdl) ...@@ -855,7 +861,6 @@ IMPL_LINK_NOARG(ChartTypeTabPage, SelectMainTypeHdl)
uno::Reference< beans::XPropertySet > xTemplateProps( this->getCurrentTemplate(), uno::UNO_QUERY ); uno::Reference< beans::XPropertySet > xTemplateProps( this->getCurrentTemplate(), uno::UNO_QUERY );
m_pCurrentMainType->fillExtraControls(aParameter,m_xChartModel,xTemplateProps); m_pCurrentMainType->fillExtraControls(aParameter,m_xChartModel,xTemplateProps);
} }
return 0;
} }
void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeController ) void ChartTypeTabPage::showAllControls( ChartTypeDialogController& rTypeController )
......
...@@ -72,6 +72,7 @@ protected: ...@@ -72,6 +72,7 @@ protected:
virtual void stateChanged( ChangingResource* pResource ); virtual void stateChanged( ChangingResource* pResource );
void commitToModel( const ChartTypeParameter& rParameter ); void commitToModel( const ChartTypeParameter& rParameter );
void selectMainType();
DECL_LINK( SelectMainTypeHdl, void* ); DECL_LINK( SelectMainTypeHdl, void* );
DECL_LINK( SelectSubTypeHdl, void* ); DECL_LINK( SelectSubTypeHdl, void* );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment