Kaydet (Commit) b68f14a7 authored tarafından Julien Nabet's avatar Julien Nabet

Remove unused functions (callcatcher)

ThumbnailView::deselectItem(unsigned short)
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)

Change-Id: I88d79c7c1eede9544a4232e467a54629e4976798
üst 67e69a55
......@@ -777,15 +777,6 @@ XclExpPCField* XclExpPivotCache::GetFieldAcc( sal_uInt16 nFieldIdx )
return maFieldList.GetRecord( nFieldIdx ).get();
}
XclExpPCField* XclExpPivotCache::GetFieldAcc( const rtl::OUString& rFieldName )
{
XclExpPCField* pField = 0;
for( size_t nPos = 0, nSize = maFieldList.GetSize(); !pField && (nPos < nSize); ++nPos )
if( maFieldList.GetRecord( nPos )->GetFieldName() == rFieldName )
pField = maFieldList.GetRecord( nPos ).get();
return pField;
}
void XclExpPivotCache::AddFields( const ScDPObject& rDPObj )
{
AddStdFields( rDPObj );
......
......@@ -199,8 +199,6 @@ public:
private:
/** Returns read/write access to a pivot cache field. */
XclExpPCField* GetFieldAcc( sal_uInt16 nFieldIdx );
/** Returns read/write access to a pivot cache field. */
XclExpPCField* GetFieldAcc( const rtl::OUString& rFieldName );
/** Adds all pivot cache fields. */
void AddFields( const ScDPObject& rDPObj );
......
......@@ -207,8 +207,6 @@ public:
bool IsItemSelected( sal_uInt16 nItemId ) const
{ return nItemId == mnSelItemId; }
void deselectItem (const sal_uInt16 nItemId);
/**
*
* @brief deselect all current selected items.
......
......@@ -857,24 +857,6 @@ void ThumbnailView::SelectItem( sal_uInt16 nItemId )
}
}
void ThumbnailView::deselectItem(const sal_uInt16 nItemId)
{
for (size_t i = 0, n = mItemList.size(); i < n; ++i)
{
if (mItemList[i]->mnId == nItemId)
{
mItemList[i]->setSelection(false);
maItemStateHdl.Call(mItemList[i]);
if (IsReallyVisible() && IsUpdateMode())
mItemList[i]->Paint(mpProcessor,mpItemAttrs);
break;
}
}
}
void ThumbnailView::deselectItems()
{
for (size_t i = 0, n = mItemList.size(); i < n; ++i)
......
......@@ -10,8 +10,6 @@ ScDocument::GetEditText(ScAddress const&) const
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
TextEngine::GetLeftMargin() const
ThumbnailView::deselectItem(unsigned short)
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)
apitest::XCellRangesQuery::testQueryFormulaCells()
apitest::XDataPilotDescriptor::testGetHiddenFields()
apitest::XDataPilotFieldGrouping::testCreateDateGroup()
......
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