summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/scriptdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-13 21:02:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-14 10:11:32 +0000
commita94b6ec2d57cab51d79329ea62d908f3b3713505 (patch)
tree68dd3fe95d4e46e24fb68b225d5ef93310593cda /cui/source/dialogs/scriptdlg.cxx
parent288a3e6ef7e04c95be1ed26a5df850fbf4e6ea24 (diff)
callcatcher: update unused code post binfilter death
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
Diffstat (limited to 'cui/source/dialogs/scriptdlg.cxx')
-rw-r--r--cui/source/dialogs/scriptdlg.cxx34
1 files changed, 8 insertions, 26 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index d601623859b5..df3575fe87e0 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -71,31 +71,6 @@ void ShowErrorDialog( const Any& aException )
delete pDlg;
}
-void SFTreeListBox::Init()
-{
- SetSelectionMode( SINGLE_SELECTION );
-
- SetStyle( GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL |
- WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HIDESELECTION |
- WB_HASLINES | WB_HASLINESATROOT );
- SetNodeDefaultImages();
-
- nMode = 0xFF; // everything
-}
-
-SFTreeListBox::SFTreeListBox(Window* pParent, const ResId& rResId)
- : SvTreeListBox(pParent, ResId(rResId.GetId(),*rResId.GetResMgr()))
- , m_hdImage(CUI_RES(RID_CUIIMG_HARDDISK))
- , m_libImage(CUI_RES(RID_CUIIMG_LIB))
- , m_macImage(CUI_RES(RID_CUIIMG_MACRO))
- , m_docImage(CUI_RES(RID_CUIIMG_DOC))
- , m_sMyMacros(CUI_RESSTR(RID_SVXSTR_MYMACROS))
- , m_sProdMacros(CUI_RES(RID_SVXSTR_PRODMACROS))
-{
- FreeResource();
- Init();
-}
-
SFTreeListBox::SFTreeListBox(Window* pParent)
: SvTreeListBox(pParent)
, m_hdImage(CUI_RES(RID_CUIIMG_HARDDISK))
@@ -105,7 +80,14 @@ SFTreeListBox::SFTreeListBox(Window* pParent)
, m_sMyMacros(CUI_RESSTR(RID_SVXSTR_MYMACROS))
, m_sProdMacros(CUI_RESSTR(RID_SVXSTR_PRODMACROS))
{
- Init();
+ SetSelectionMode( SINGLE_SELECTION );
+
+ SetStyle( GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL |
+ WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HIDESELECTION |
+ WB_HASLINES | WB_HASLINESATROOT );
+ SetNodeDefaultImages();
+
+ nMode = 0xFF; // everything
}
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSFTreeListBox(Window *pParent, VclBuilder::stringmap &)