diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-15 08:55:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-15 09:07:49 +0100 |
commit | c54f77b7180b271fecff3737bc391e19f050ec11 (patch) | |
tree | 1143e3d23b0478dd8600f4d44741df2a446f0b21 /starmath | |
parent | 79aa0c50dae2ff6d143d99212d3a32a8ac28f306 (diff) |
callcatcher: update unused code
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused
Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/utility.hxx | 3 | ||||
-rw-r--r-- | starmath/source/utility.cxx | 9 |
2 files changed, 1 insertions, 11 deletions
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx index 1770a91ffe81..e20c96ed32c6 100644 --- a/starmath/inc/utility.hxx +++ b/starmath/inc/utility.hxx @@ -158,8 +158,7 @@ protected: DECL_LINK(SelectHdl, ListBox *); public: - SmFontPickListBox(Window* pParent, const ResId& rResId); - SmFontPickListBox (Window* pParent, WinBits nBits); + SmFontPickListBox(Window* pParent, WinBits nBits); SmFontPickListBox& operator = (const SmFontPickList& rList); diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx index 4583c539df33..fbc487baad04 100644 --- a/starmath/source/utility.cxx +++ b/starmath/source/utility.cxx @@ -187,15 +187,6 @@ IMPL_LINK( SmFontPickListBox, SelectHdl, ListBox *, /*pListBox*/ ) return 0; } - -SmFontPickListBox::SmFontPickListBox(Window* pParent, const ResId& rResId) : - SmFontPickList(4), - ListBox(pParent, rResId) -{ - SetSelectHdl(LINK(this, SmFontPickListBox, SelectHdl)); -} - - SmFontPickListBox& SmFontPickListBox::operator=(const SmFontPickList& rList) { sal_uInt16 nPos; |