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