summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 14:39:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 18:18:12 +0200
commit40069adbc225a6dd5d3431a7cd9f17986f6385de (patch)
treed6399d316ce99b9b56bfa514c300946bec2022cd /svx
parent83a962578f616ae4ff215fa782763f2045a20bcc (diff)
loplugin:unusedfields
Change-Id: Ic7871f3a40668ba73aa0f0067a45455920d55890 Reviewed-on: https://gerrit.libreoffice.org/60313 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/SvxPresetListBox.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx
index 8de709df91e1..2dbac4a4d5bd 100644
--- a/svx/source/tbxctrls/SvxPresetListBox.cxx
+++ b/svx/source/tbxctrls/SvxPresetListBox.cxx
@@ -102,11 +102,6 @@ IMPL_LINK(SvxPresetListBox, OnMenuItemSelected, Menu*, pMenu, bool)
return false;
}
pMenu->Deactivate();
- OString sIdent = pMenu->GetCurItemIdent();
- if (sIdent == "rename")
- maRenameHdl.Call(this);
- else if (sIdent == "delete")
- maDeleteHdl.Call(this);
return false;
}