diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 08:51:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 17:17:36 +0200 |
commit | 53312ca4ee722a6d5ba22d1f578c6de5fbc37207 (patch) | |
tree | 0958ed3af146236305947489425f12f73e9cbcc9 /sfx2/source/control/templatelocalview.cxx | |
parent | 4aa60490622cc10f8d3a31489c62a5622d240c83 (diff) |
loplugin:unusedmethods
Change-Id: I52efd8d843d0e4cc7a6adefb0eb95aa50469af38
Reviewed-on: https://gerrit.libreoffice.org/73693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control/templatelocalview.cxx')
-rw-r--r-- | sfx2/source/control/templatelocalview.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index 4cf0d8ad084c..019eb06d3558 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -191,15 +191,6 @@ void TemplateLocalView::showRegion(TemplateContainerItem const *pItem) insertItems(pItem->maTemplates); } -TemplateContainerItem* TemplateLocalView::getRegion(OUString const & rName) -{ - for (auto const & pRegion : maRegions) - if (pRegion->maTitle == rName) - return pRegion.get(); - - return nullptr; -} - IMPL_LINK(TemplateLocalView, ContextMenuSelectHdl, Menu*, pMenu, bool) { sal_uInt16 nMenuId = pMenu->GetCurItemId(); @@ -246,11 +237,6 @@ IMPL_LINK(TemplateLocalView, ContextMenuSelectHdl, Menu*, pMenu, bool) return false; } -OUString TemplateLocalView::getRegionName(const sal_uInt16 nRegionId) const -{ - return mpDocTemplates->GetRegionName(nRegionId); -} - bool TemplateLocalView::renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle) { sal_uInt16 nRegionId = 0; |