Remove unused code in scaddins.

This commit is contained in:
Santiago Martinez 2012-03-23 21:37:59 +01:00 committed by Caolán McNamara
parent 6749dcc154
commit 6539ea5335
3 changed files with 0 additions and 19 deletions

View File

@ -83,23 +83,6 @@ void ScaList::_Grow()
pData = pNewData;
}
void ScaList::Insert( void* pNew, sal_uInt32 nIndex )
{
if( nIndex >= nCount )
Append( pNew );
else
{
Grow();
void** pIns = pData + nIndex;
memmove( pIns + 1, pIns, (nCount - nIndex) * sizeof( void* ) );
*pIns = pNew;
nCount++;
}
}
//------------------------------------------------------------------
ScaStringList::~ScaStringList()

View File

@ -76,7 +76,6 @@ public:
inline void* Next() { return (nCurr + 1 < nCount) ? pData[ ++nCurr ] : NULL; }
inline void Append( void* pNew );
void Insert( void* pNew, sal_uInt32 nIndex );
};

View File

@ -110,7 +110,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getXServiceInfo()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
ScVbaWorksheet::ScVbaWorksheet(com::sun::star::uno::Reference<ooo::vba::XHelperInterface> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
ScaList::Insert(void*, unsigned int)
ScrollBarBox::ScrollBarBox(Window*, ResId const&)
ScrollableWindow::MakeVisible(Rectangle const&, unsigned char)
SectReprArr::Insert(SectRepr* const&, unsigned short&)