summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-17 09:24:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-17 11:44:56 +0000
commit0f46d90621eb5af6548ec6e9933b3a041728bd4e (patch)
tree00dc05ddcb932d7b4ee18172a77bf8dc4fd8fbb6 /svtools
parent1e33cd8355eb1d856a1439b4a095e379b3acf0bd (diff)
callcatcher: update unused code
Change-Id: I08e99a019fd2ec16e2c995035e4bcc09678ef92b
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx39
1 files changed, 0 insertions, 39 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 903d18ae1260..8337101b507e 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -779,21 +779,6 @@ void LineListBox::SelectEntry( sal_uInt16 nStyle, bool bSelect )
ListBox::SelectEntryPos( nPos, bSelect );
}
-sal_Int32 LineListBox::InsertEntry( const OUString& rStr, sal_Int32 nPos )
-{
- nPos = ListBox::InsertEntry( rStr, nPos );
- if ( nPos != LISTBOX_ERROR ) {
- if ( static_cast<size_t>(nPos) < pLineList->size() ) {
- ImpLineList::iterator it = pLineList->begin();
- ::std::advance( it, nPos );
- pLineList->insert( it, reinterpret_cast<ImpLineListData *>(NULL) );
- } else {
- pLineList->push_back( NULL );
- }
- }
- return nPos;
-}
-
void LineListBox::InsertEntry(
BorderWidthImpl aWidthImpl, sal_uInt16 nStyle, long nMinWidth,
ColorFunc pColor1Fn, ColorFunc pColor2Fn, ColorDistFunc pColorDistFn )
@@ -803,30 +788,6 @@ void LineListBox::InsertEntry(
pLineList->push_back( pData );
}
-void LineListBox::RemoveEntry( sal_Int32 nPos )
-{
- ListBox::RemoveEntry( nPos );
-
- if ( 0 <= nPos && static_cast<size_t>(nPos) < pLineList->size() ) {
- ImpLineList::iterator it = pLineList->begin();
- ::std::advance( it, nPos );
- if ( *it ) delete *it;
- pLineList->erase( it );
- }
-}
-
-void LineListBox::Clear()
-{
- for ( size_t i = 0, n = pLineList->size(); i < n; ++i ) {
- if ( (*pLineList)[ i ] ) {
- delete (*pLineList)[ i ];
- }
- }
- pLineList->clear();
-
- ListBox::Clear();
-}
-
sal_Int32 LineListBox::GetEntryPos( sal_uInt16 nStyle ) const
{
for ( size_t i = 0, n = pLineList->size(); i < n; ++i ) {