diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 11:17:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 12:25:10 +0100 |
commit | bfafc8c3a137a98ad2cd939b11161f9961bc48d7 (patch) | |
tree | f2f592c370813953e83c0f085ed428b6d67db694 /sd | |
parent | 6a84a6ed0b1d30c8feb551a3a4db5aab437a74f7 (diff) |
callcatcher: update unused code
mostly ResId using ctors left stranded post .ui conversion
Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationList.cxx | 14 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationList.hxx | 1 |
3 files changed, 0 insertions, 23 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index 52e72c1d8891..e9d70792a4f8 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -69,7 +69,6 @@ const int MISCEFFECTS = 4; class CategoryListBox : public ListBox { public: - CategoryListBox( Window* pParent, const ResId& rResId ); CategoryListBox( Window* pParent ); ~CategoryListBox(); @@ -87,13 +86,6 @@ private: Link maDoubleClickHdl; }; -CategoryListBox::CategoryListBox( Window* pParent, const ResId& rResId ) -: ListBox( pParent, rResId ) -{ - EnableUserDraw( sal_True ); - SetDoubleClickHdl( LINK( this, CategoryListBox, implDoubleClickHdl ) ); -} - CategoryListBox::CategoryListBox( Window* pParent ) : ListBox( pParent, WB_TABSTOP | WB_BORDER ) { diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 40d759a6b881..35542492dc7c 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -455,20 +455,6 @@ void CustomAnimationTriggerEntryItem::Clone( SvLBoxItem* ) // ==================================================================== -CustomAnimationList::CustomAnimationList( ::Window* pParent, const ResId& rResId, ICustomAnimationListController* pController ) -: SvTreeListBox( pParent, rResId ) -, mbIgnorePaint( false ) -, mpController( pController ) -, mpLastParentEntry(0) -{ - SetStyle( GetStyle() | WB_TABSTOP | WB_BORDER | WB_HASLINES | WB_HASBUTTONS | WB_HASBUTTONSATROOT ); - - EnableContextMenuHandling(); - SetSelectionMode( MULTIPLE_SELECTION ); - SetIndent(16); - SetNodeDefaultImages(); -} - CustomAnimationList::CustomAnimationList( ::Window* pParent ) : SvTreeListBox( pParent, WB_TABSTOP | WB_BORDER ), mpController(0) diff --git a/sd/source/ui/animations/CustomAnimationList.hxx b/sd/source/ui/animations/CustomAnimationList.hxx index da4dae1c9182..61a48676b3c7 100644 --- a/sd/source/ui/animations/CustomAnimationList.hxx +++ b/sd/source/ui/animations/CustomAnimationList.hxx @@ -46,7 +46,6 @@ class CustomAnimationList : public SvTreeListBox, public ISequenceListener friend struct stl_append_effect_func; public: - CustomAnimationList( ::Window* pParent, const ResId& rResId, ICustomAnimationListController* pController ); CustomAnimationList( ::Window* pParent ); virtual ~CustomAnimationList(); |