summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-19 09:20:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-19 08:33:21 +0000
commitb3ff2f450f2e20af8e8f77515ad0615106859292 (patch)
tree398bab17f6891e50dde504986a60989173c76ac4 /starmath
parentd4d2fc24793960a07275e49706b90928b4a0c764 (diff)
loplugin:unusedmethods in slideshow to svtools
Change-Id: Icf0056e13c88d7d347e668adaeddd4ed72af85cf Reviewed-on: https://gerrit.libreoffice.org/25141 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/utility.hxx4
-rw-r--r--starmath/source/utility.cxx10
2 files changed, 0 insertions, 14 deletions
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index 3576c5fe1faf..6e8b977c2251 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -84,8 +84,6 @@ public:
Font(rFont), nBorderWidth(-1) { Impl_Init(); }
SmFace(const OUString& rName, const Size& rSize) :
Font(rName, rSize), nBorderWidth(-1) { Impl_Init(); }
- SmFace( FontFamily eFamily, const Size& rSize) :
- Font(eFamily, rSize), nBorderWidth(-1) { Impl_Init(); }
SmFace(const SmFace &rFace) :
Font(rFace), nBorderWidth(-1) { Impl_Init(); }
@@ -124,7 +122,6 @@ public:
virtual ~SmFontPickList() { Clear(); }
virtual void Insert(const vcl::Font &rFont);
- void Update(const vcl::Font &rFont, const vcl::Font &rNewFont);
void Remove(const vcl::Font &rFont);
void Clear();
@@ -152,7 +149,6 @@ public:
virtual void Insert(const vcl::Font &rFont) override;
using Window::Update;
- using SmFontPickList::Update;
};
#endif
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++)