From b3ff2f450f2e20af8e8f77515ad0615106859292 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 May 2016 09:20:35 +0200 Subject: loplugin:unusedmethods in slideshow to svtools Change-Id: Icf0056e13c88d7d347e668adaeddd4ed72af85cf Reviewed-on: https://gerrit.libreoffice.org/25141 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/source/utility.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'starmath/source/utility.cxx') diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx index 0a1b61ba282e..6983cb418468 100644 --- a/starmath/source/utility.cxx +++ b/starmath/source/utility.cxx @@ -104,16 +104,6 @@ void SmFontPickList::Insert(const vcl::Font &rFont) } } -void SmFontPickList::Update(const vcl::Font &rFont, const vcl::Font &rNewFont) -{ - for (vcl::Font & rPos : aFontVec) - if (CompareItem( rPos, rFont )) - { - rPos = rNewFont; - break; - } -} - void SmFontPickList::Remove(const vcl::Font &rFont) { for (size_t nPos = 0; nPos < aFontVec.size(); nPos++) -- cgit