remove unused code ScCollection::IndexOf(ScDataObject*) const

Change-Id: I142bc93cbe1ce6c0462ccc63defbd49e519f7f75
This commit is contained in:
Noel Grandin
2014-02-26 13:27:12 +02:00
parent 6374c59217
commit 39ff662a15
3 changed files with 0 additions and 15 deletions

View File

@@ -124,19 +124,6 @@ ScDataObject* ScCollection::At(sal_uInt16 nIndex) const
} }
sal_uInt16 ScCollection::IndexOf(ScDataObject* pScDataObject) const
{
sal_uInt16 nIndex = 0xffff;
for (sal_uInt16 i = 0; ((i < nCount) && (nIndex == 0xffff)); i++)
{
if (pItems[i] == pScDataObject) nIndex = i;
}
return nIndex;
}
ScCollection& ScCollection::operator=( const ScCollection& r ) ScCollection& ScCollection::operator=( const ScCollection& r )
{ {
// Check for self-assignment // Check for self-assignment

View File

@@ -48,7 +48,6 @@ public:
bool Insert(ScDataObject* pScDataObject); bool Insert(ScDataObject* pScDataObject);
ScDataObject* At(sal_uInt16 nIndex) const; ScDataObject* At(sal_uInt16 nIndex) const;
sal_uInt16 IndexOf(ScDataObject* pScDataObject) const;
sal_uInt16 GetCount() const; sal_uInt16 GetCount() const;
ScDataObject* operator[]( const sal_uInt16 nIndex) const { return At(nIndex); } ScDataObject* operator[]( const sal_uInt16 nIndex) const { return At(nIndex); }

View File

@@ -66,7 +66,6 @@ ScCellValue::ScCellValue(ScFormulaCell const&)
ScCellValue::hasNumeric() const ScCellValue::hasNumeric() const
ScCellValue::hasString() const ScCellValue::hasString() const
ScCellValue::set(ScFormulaCell const&) ScCellValue::set(ScFormulaCell const&)
ScCollection::IndexOf(ScDataObject*) const
ScDocument::CreateFormatTable() const ScDocument::CreateFormatTable() const
ScExtIButton::GetSelected() const ScExtIButton::GetSelected() const
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()