summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/inc/utility.hxx1
-rw-r--r--starmath/source/utility.cxx8
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 10 deletions
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index 9ede3a57af3e..f1ecd57b5e20 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -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);
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index d1525fafc536..d83156950eb7 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -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() &&
diff --git a/unusedcode.easy b/unusedcode.easy
index 907362d5d185..344be2e92683 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -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&)