summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Martinez <smvarela@gmail.com>2012-03-23 21:37:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-03-26 14:58:28 +0100
commit6539ea5335b7904125c40e42b030ebdebe5614d6 (patch)
tree5df32a85ea278e7f43f69b255f5dcbcd1f908992
parent6749dcc15442abc86dd473eac0885106238e8eb1 (diff)
Remove unused code in scaddins.
-rw-r--r--scaddins/source/datefunc/datefunc.cxx17
-rw-r--r--scaddins/source/datefunc/datefunc.hxx1
-rwxr-xr-xunusedcode.easy1
3 files changed, 0 insertions, 19 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 );
};
diff --git a/unusedcode.easy b/unusedcode.easy
index eb72ea18ace4..16f1f5060a61 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -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&)