summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-24 12:16:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-24 16:02:12 +0100
commit7d55b62c1e306819fe3235cdb5a9c1aff792fe05 (patch)
tree32b177a3bcc5b9f4964c2e94c203ffe748376969 /chart2
parent9843c68c0402fc589494dfa28e22fa43b99ac9ae (diff)
rename LightCtl3D back to SvxLightCtl3D
Change-Id: I2cf5d019324643b048eea432753705af485720a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87336 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.cxx6
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
index 058e0a208afc..3af93be0727b 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
@@ -210,7 +210,7 @@ ThreeD_SceneIllumination_TabPage::ThreeD_SceneIllumination_TabPage(weld::Contain
, m_xBtn_Corner(m_xBuilder->weld_button("corner"))
, m_xPreview(new LightControl3D)
, m_xPreviewWnd(new weld::CustomWeld(*m_xBuilder, "CTL_LIGHT_PREVIEW", *m_xPreview))
- , m_xCtl_Preview(new LightCtl3D(*m_xPreview, *m_xHoriScale, *m_xVertScale, *m_xBtn_Corner))
+ , m_xCtl_Preview(new SvxLightCtl3D(*m_xPreview, *m_xHoriScale, *m_xVertScale, *m_xBtn_Corner))
{
m_pLightSourceInfoList.reset(new LightSourceInfo[8]);
m_pLightSourceInfoList[0].pButton = m_xBtn_Light1.get();
@@ -283,7 +283,7 @@ void ThreeD_SceneIllumination_TabPage::applyLightSourcesToModel()
m_aTimerTriggeredControllerLock.startTimer();
}
-IMPL_LINK_NOARG(ThreeD_SceneIllumination_TabPage, PreviewChangeHdl, LightCtl3D*, void)
+IMPL_LINK_NOARG(ThreeD_SceneIllumination_TabPage, PreviewChangeHdl, SvxLightCtl3D*, void)
{
m_aTimerTriggeredControllerLock.startTimer();
@@ -333,7 +333,7 @@ IMPL_LINK_NOARG(ThreeD_SceneIllumination_TabPage, PreviewChangeHdl, LightCtl3D*,
applyLightSourcesToModel();
}
-IMPL_LINK_NOARG(ThreeD_SceneIllumination_TabPage, PreviewSelectHdl, LightCtl3D*, void)
+IMPL_LINK_NOARG(ThreeD_SceneIllumination_TabPage, PreviewSelectHdl, SvxLightCtl3D*, void)
{
sal_uInt32 nLightNumber = m_xCtl_Preview->GetSvx3DLightControl().GetSelectedLight();
if(nLightNumber<8)
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
index 049680760fa7..46cbc279c7ac 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
@@ -46,8 +46,8 @@ private:
DECL_LINK( ClickLightSourceButtonHdl, weld::Button&, void );
DECL_LINK( SelectColorHdl, ColorListBox&, void );
DECL_LINK( ColorDialogHdl, weld::Button&, void );
- DECL_LINK( PreviewChangeHdl, LightCtl3D*, void );
- DECL_LINK( PreviewSelectHdl, LightCtl3D*, void );
+ DECL_LINK( PreviewChangeHdl, SvxLightCtl3D*, void );
+ DECL_LINK( PreviewSelectHdl, SvxLightCtl3D*, void );
void updatePreview();
@@ -87,7 +87,7 @@ private:
std::unique_ptr<weld::Button> m_xBtn_Corner;
std::unique_ptr<LightControl3D> m_xPreview;
std::unique_ptr<weld::CustomWeld> m_xPreviewWnd;
- std::unique_ptr<LightCtl3D> m_xCtl_Preview;
+ std::unique_ptr<SvxLightCtl3D> m_xCtl_Preview;
};
} //namespace chart