Remove unused code in scaddins.
This commit is contained in:
committed by
Caolán McNamara
parent
6749dcc154
commit
6539ea5335
@@ -83,23 +83,6 @@ void ScaList::_Grow()
|
|||||||
pData = pNewData;
|
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()
|
ScaStringList::~ScaStringList()
|
||||||
|
@@ -76,7 +76,6 @@ public:
|
|||||||
inline void* Next() { return (nCurr + 1 < nCount) ? pData[ ++nCurr ] : NULL; }
|
inline void* Next() { return (nCurr + 1 < nCount) ? pData[ ++nCurr ] : NULL; }
|
||||||
|
|
||||||
inline void Append( void* pNew );
|
inline void Append( void* pNew );
|
||||||
void Insert( void* pNew, sal_uInt32 nIndex );
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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>::setAddIndent(com::sun::star::uno::Any const&)
|
||||||
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString 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&)
|
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&)
|
ScrollBarBox::ScrollBarBox(Window*, ResId const&)
|
||||||
ScrollableWindow::MakeVisible(Rectangle const&, unsigned char)
|
ScrollableWindow::MakeVisible(Rectangle const&, unsigned char)
|
||||||
SectReprArr::Insert(SectRepr* const&, unsigned short&)
|
SectReprArr::Insert(SectRepr* const&, unsigned short&)
|
||||||
|
Reference in New Issue
Block a user