diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 09:47:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:49 +0200 |
commit | 639110d0ccb5af48104cd4a6e64c26bf682ed3f3 (patch) | |
tree | d1b0f367567bc199c17f9a3caa93ff4da92610c6 | |
parent | ca0e8696ea0cd038d55d8101ff6f7303bb67a07e (diff) |
remove unused code SmFontPickList::Contains(Font const&) const
Change-Id: I07e6642bdf0db3b0f297e8ec01b614f880231aa7
-rw-r--r-- | starmath/inc/utility.hxx | 1 | ||||
-rw-r--r-- | starmath/source/utility.cxx | 8 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
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&) |