diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-20 14:15:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-21 09:59:39 +0200 |
commit | 649be5feb4e162f83e9ff5fc8a68b463e723bc07 (patch) | |
tree | 30ed9e92936bfa51ec376e438fabccc55facff0c /chart2 | |
parent | 1d48e998ae038263b092e0de71da97fceee299f4 (diff) |
move SvColorDialog to welded arguments
Change-Id: Ieb04fc4684caa6df47b123ab06e280f2d204375a
Reviewed-on: https://gerrit.libreoffice.org/56174
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index ac1f95d7265d..bbe28b0ed0ea 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -390,9 +390,9 @@ IMPL_LINK( ThreeD_SceneIllumination_TabPage, ColorDialogHdl, Button*, pButton, v bool bIsAmbientLight = (pButton==m_pBtn_AmbientLight_Color); SvxColorListBox* pListBox = bIsAmbientLight ? m_pLB_AmbientLight.get() : m_pLB_LightSource.get(); - SvColorDialog aColorDlg( this ); + SvColorDialog aColorDlg; aColorDlg.SetColor( pListBox->GetSelectEntryColor() ); - if( aColorDlg.Execute() == RET_OK ) + if( aColorDlg.Execute(GetFrameWeld()) == RET_OK ) { Color aColor( aColorDlg.GetColor()); lcl_selectColor( *pListBox, aColor ); |