remove unused code ScCollection::IndexOf(ScDataObject*) const
Change-Id: I142bc93cbe1ce6c0462ccc63defbd49e519f7f75
This commit is contained in:
@@ -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:
|
|||||||
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&)
|
|||||||
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()
|
||||||
|
Reference in New Issue
Block a user