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 /starmath | |
parent | ca0e8696ea0cd038d55d8101ff6f7303bb67a07e (diff) |
remove unused code SmFontPickList::Contains(Font const&) const
Change-Id: I07e6642bdf0db3b0f297e8ec01b614f880231aa7
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/utility.hxx | 1 | ||||
-rw-r--r-- | starmath/source/utility.cxx | 8 |
2 files changed, 0 insertions, 9 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() && |