summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:01:18 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:01:18 +0000
commit71e9a4858d09672f97d61cb6a3d2b7804de2b861 (patch)
tree0fe6eb2b90db09fc19dba35c68bdf3d68598219b /starmath
parente2f6d4d040d66b122c13534f348e53ec173fb217 (diff)
INTEGRATION: CWS tl50 (1.18.92); FILE MERGED
2008/02/29 08:42:22 tl 1.18.92.1: #i86272# unused code removed
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/utility.cxx34
1 files changed, 1 insertions, 33 deletions
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 88255e548c6a..e6fed5946088 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: utility.cxx,v $
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
* This file is part of OpenOffice.org.
*
@@ -129,30 +129,6 @@ void SmPickList::Remove(const void *pItem)
}
}
-void SmPickList::SetSize(USHORT nNewSize)
-{
- nSize = nNewSize;
-
- while (Count() > nSize)
- {
- DestroyItem(GetPtr(Count() - 1));
- RemovePtr(Count() - 1, 1);
- }
-}
-
-
-BOOL SmPickList::Contains(const void *pItem) const
-{
- USHORT nPos;
-
- for (nPos = 0; nPos < Count(); nPos++)
- if (CompareItem(GetPtr(nPos), pItem))
- return TRUE;
-
- return FALSE;
-}
-
-
void SmPickList::Clear()
{
USHORT nPos;
@@ -276,14 +252,6 @@ IMPL_LINK( SmFontPickListBox, SelectHdl, ListBox *, /*pListBox*/ )
}
-SmFontPickListBox::SmFontPickListBox(Window* pParent, WinBits nWinStyle, USHORT nMax) :
- SmFontPickList(nMax, nMax),
- ListBox(pParent, nWinStyle)
-{
- SetSelectHdl(LINK(this, SmFontPickListBox, SelectHdl));
-}
-
-
SmFontPickListBox::SmFontPickListBox(Window* pParent, const ResId& rResId, USHORT nMax) :
SmFontPickList(nMax, nMax),
ListBox(pParent, rResId)