Kaydet (Commit) 39ff662a authored tarafından Noel Grandin's avatar Noel Grandin

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

Change-Id: I142bc93cbe1ce6c0462ccc63defbd49e519f7f75
üst 6374c592
...@@ -124,19 +124,6 @@ ScDataObject* ScCollection::At(sal_uInt16 nIndex) const ...@@ -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
......
...@@ -48,7 +48,6 @@ public: ...@@ -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); }
......
...@@ -66,7 +66,6 @@ ScCellValue::ScCellValue(ScFormulaCell const&) ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment