diff options
author | sk94 <eszkadev@gmail.com> | 2014-05-20 19:47:50 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-21 07:46:34 -0500 |
commit | 5690def7c8e8c1d875b4f9bed4dea712d99480d8 (patch) | |
tree | 2eddb56425026dcdf8d5177bd384835e97ff5102 /svx/source/dialog/checklbx.cxx | |
parent | 2bbcf97eb35b98da33f3aaba67cd7abc1a265c69 (diff) |
RID_DLG_UPDATE conversion to .ui
Conflicts:
desktop/source/deployment/gui/descedit.hxx
Change-Id: Icf9ee3081b468f99833d1e38182887ad1da6f675
Reviewed-on: https://gerrit.libreoffice.org/9417
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog/checklbx.cxx')
-rw-r--r-- | svx/source/dialog/checklbx.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx index 384fa1856c42..a2fdfa52a0a8 100644 --- a/svx/source/dialog/checklbx.cxx +++ b/svx/source/dialog/checklbx.cxx @@ -50,9 +50,13 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxCheckListBox(Window *pPa SvxCheckListBox::SvxCheckListBox( Window* pParent, const ResId& rResId, const Image& rNormalStaticImage ) : SvTreeListBox( pParent, rResId ) - { Init_Impl(); + SetNormalStaticImage(rNormalStaticImage); +} + +void SvxCheckListBox::SetNormalStaticImage(const Image& rNormalStaticImage) +{ pCheckButton->aBmps[SV_BMP_STATICIMAGE] = rNormalStaticImage; } @@ -61,16 +65,12 @@ SvxCheckListBox::~SvxCheckListBox() delete pCheckButton; } - - void SvxCheckListBox::Init_Impl() { pCheckButton = new SvLBoxButtonData( this ); EnableCheckButton( pCheckButton ); } - - void SvxCheckListBox::InsertEntry( const OUString& rStr, sal_uLong nPos, void* pUserData, SvLBoxButtonKind eButtonKind ) |