summaryrefslogtreecommitdiffstats
path: root/basic/source/sbx/sbxarray.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2016-07-10 16:32:32 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-11 07:28:16 +0000
commit9b0995439e02981c47f6234b33e6e8988fadf315 (patch)
tree1b77d0b5b18d7ad4d47bde0e0de52242ee02c505 /basic/source/sbx/sbxarray.cxx
parentopencl: OpenCLZone, detect CL device change and disable CL on crash (diff)
downloadcore-9b0995439e02981c47f6234b33e6e8988fadf315.tar.gz
core-9b0995439e02981c47f6234b33e6e8988fadf315.zip
BASIC : Remove useless 16bits Remove function from SbxArray
Change-Id: I050a034437d3370a28c9e5ab47abee369e634f7d Reviewed-on: https://gerrit.libreoffice.org/27089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/source/sbx/sbxarray.cxx')
-rw-r--r--basic/source/sbx/sbxarray.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx
index b1cce09ea3e6..754bc5aa8211 100644
--- a/basic/source/sbx/sbxarray.cxx
+++ b/basic/source/sbx/sbxarray.cxx
@@ -283,7 +283,7 @@ void SbxArray::Insert( SbxVariable* pVar, sal_uInt16 nIdx )
Insert32( pVar, nIdx );
}
-void SbxArray::Remove32( sal_uInt32 nIdx )
+void SbxArray::Remove( sal_uInt32 nIdx )
{
if( nIdx < mpVarEntries->size() )
{
@@ -292,11 +292,6 @@ void SbxArray::Remove32( sal_uInt32 nIdx )
}
}
-void SbxArray::Remove( sal_uInt16 nIdx )
-{
- Remove32(nIdx);
-}
-
void SbxArray::Remove( SbxVariable* pVar )
{
if( pVar )
@@ -305,7 +300,7 @@ void SbxArray::Remove( SbxVariable* pVar )
{
if (&(*mpVarEntries)[i].mpVar == pVar)
{
- Remove32( i ); break;
+ Remove( i ); break;
}
}
}