summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-06-28 18:15:45 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-08 08:59:06 +0200
commit2b5ebcc45b598f7e778abd76184342b86300c3b0 (patch)
treedbf903559878506d990933c89b0c39b49abb2cc1 /chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
parent3c4da0f6fda6d6cf376cae77417d813e1d21d740 (diff)
chart2: typed Link<>
Change-Id: I98c882d64cb4d6430390ac705f3f2208dd523598
Diffstat (limited to 'chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
index a8de05923261..04c725429f83 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
@@ -315,10 +315,10 @@ void ThreeD_SceneIllumination_TabPage::dispose()
TabPage::dispose();
}
-IMPL_LINK_NOARG(ThreeD_SceneIllumination_TabPage, fillControlsFromModel)
+IMPL_LINK_NOARG_TYPED(ThreeD_SceneIllumination_TabPage, fillControlsFromModel, void*, void)
{
if( m_bInCommitToModel )//don't read own changes
- return 0;
+ return;
sal_Int32 nL=0;
for( nL=0; nL<8; nL++)
@@ -329,8 +329,6 @@ IMPL_LINK_NOARG(ThreeD_SceneIllumination_TabPage, fillControlsFromModel)
lcl_selectColor( *m_pLB_AmbientLight, lcl_getAmbientColor( m_xSceneProperties ));
this->updatePreview();
-
- return 0;
}
void ThreeD_SceneIllumination_TabPage::applyLightSourceToModel( sal_uInt32 nLightNumber )