diff options
Diffstat (limited to 'scaddins/source')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 17 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.hxx | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 4ae9543a3fc4..6ba6d4409a8f 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -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() diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index fae798310673..61ba8da5e416 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -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 ); }; |