Kaydet (Commit) 639110d0 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused code SmFontPickList::Contains(Font const&) const

Change-Id: I07e6642bdf0db3b0f297e8ec01b614f880231aa7
üst ca0e8696
......@@ -137,7 +137,6 @@ public:
virtual void Remove(const Font &rFont);
void Clear();
bool Contains(const Font &rFont) const;
Font Get(sal_uInt16 nPos = 0) const;
SmFontPickList& operator = (const SmFontPickList& rList);
......
......@@ -75,14 +75,6 @@ Font SmFontPickList::Get(sal_uInt16 nPos) const
return nPos < aFontVec.size() ? aFontVec[nPos] : Font();
}
bool SmFontPickList::Contains(const Font &rFont) const
{
return std::find( aFontVec.begin(), aFontVec.end(), rFont ) != aFontVec.end();
}
bool SmFontPickList::CompareItem(const Font & rFirstFont, const Font & rSecondFont) const
{
return rFirstFont.GetName() == rSecondFont.GetName() &&
......
......@@ -46,7 +46,6 @@ SfxGrabBagItem::SetGrabBag(std::map<rtl::OUString, com::sun::star::uno::Any, std
SfxInt64Item::SetValue(long)
SfxItemPool::GetMasterPool() const
SimpleErrorHandler::SimpleErrorHandler()
SmFontPickList::Contains(Font const&) const
StyleSettings::SetActiveColor2(Color const&)
StyleSettings::SetCursorSize(long)
StyleSettings::SetDeactiveColor2(Color const&)
......
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