diff options
Diffstat (limited to 'chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx | 12 |
1 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 5068e984a8e5..188eb1409974 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -42,7 +42,7 @@ LightButton::LightButton( vcl::Window* pParent) : ImageButton( pParent) , m_bLightOn(false) { - SetModeImage(Image(BitmapEx(SVX_RES(RID_SVXBMP_LAMP_OFF)))); + SetModeImage(Image(BitmapEx(RID_SVXBMP_LAMP_OFF))); } VCL_BUILDER_FACTORY(LightButton) @@ -54,11 +54,11 @@ void LightButton::switchLightOn(bool bOn) m_bLightOn = bOn; if(m_bLightOn) { - SetModeImage(Image(BitmapEx(SVX_RES(RID_SVXBMP_LAMP_ON)))); + SetModeImage(Image(BitmapEx(RID_SVXBMP_LAMP_ON))); } else { - SetModeImage(Image(BitmapEx(SVX_RES(RID_SVXBMP_LAMP_OFF)))); + SetModeImage(Image(BitmapEx(RID_SVXBMP_LAMP_OFF))); } } @@ -97,9 +97,9 @@ void LightSourceInfo::initButtonFromSource() { if(!pButton) return; - pButton->SetModeImage(Image(BitmapEx(SVX_RES( - aLightSource.bIsEnabled ? RID_SVXBMP_LAMP_ON : RID_SVXBMP_LAMP_OFF - ) ) )); + pButton->SetModeImage(Image(BitmapEx( + aLightSource.bIsEnabled ? OUString(RID_SVXBMP_LAMP_ON) : OUString(RID_SVXBMP_LAMP_OFF) + ) ) ); } namespace |