summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 12:25:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 18:03:27 +0100
commite79e8117dcc7475d8d90afeaaac9eb7050ff244e (patch)
treebba5f505c33796799aef9d19464132b22cccaa5d /sfx2/source/control
parentbacd06e9270ab64fa2c8243181c19c977d2bb649 (diff)
loplugin:unusedfields in sfx2
Change-Id: I92b25efa78e156c89a0532aec632a31ec2029e05 Reviewed-on: https://gerrit.libreoffice.org/68202 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control')
-rw-r--r--sfx2/source/control/templatedefaultview.cxx1
-rw-r--r--sfx2/source/control/templatelocalview.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/source/control/templatedefaultview.cxx b/sfx2/source/control/templatedefaultview.cxx
index b5ca2ba75123..dd75a537177e 100644
--- a/sfx2/source/control/templatedefaultview.cxx
+++ b/sfx2/source/control/templatedefaultview.cxx
@@ -53,7 +53,6 @@ void TemplateDefaultView::reload()
void TemplateDefaultView::showAllTemplates()
{
mnCurRegionId = 0;
- maCurRegionName.clear();
insertItems(maAllTemplates, false);
maOpenRegionHdl.Call(nullptr);
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index 75d9296e390e..d15109f8943b 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -183,7 +183,6 @@ void TemplateLocalView::reload ()
void TemplateLocalView::showAllTemplates()
{
mnCurRegionId = 0;
- maCurRegionName.clear();
insertItems(maAllTemplates, false, true);
@@ -193,7 +192,6 @@ void TemplateLocalView::showAllTemplates()
void TemplateLocalView::showRegion(TemplateContainerItem const *pItem)
{
mnCurRegionId = pItem->mnRegionId+1;
- maCurRegionName = pItem->maTitle;
insertItems(pItem->maTemplates);