diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 11:23:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 21:31:48 +0200 |
commit | a75cc6348ce578f619c7429f5157fae53eb08e01 (patch) | |
tree | f848102cf718a36e40833d07762f1af53d8399ab /cui | |
parent | 7e1503b4231ef8084478b72b0992c98198ec8070 (diff) |
loplugin:unusedfields
Change-Id: I42a55562747e6097c1193e285da67235f5364bea
Reviewed-on: https://gerrit.libreoffice.org/55610
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 3 | ||||
-rw-r--r-- | cui/source/inc/cfg.hxx | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 250c2a3f0e90..63d19ebdd808 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1888,7 +1888,6 @@ SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog( SvxConfigEntry const * selection, bool bCreateMenu ) : GenericDialogController(pParent, "cui/ui/movemenu.ui", "MoveMenuDialog") , mpEntries(nullptr) - , bModified(false) , m_xMenuBox(m_xBuilder->weld_widget("namebox")) , m_xMenuNameEdit(m_xBuilder->weld_entry("menuname")) , m_xMenuListBox(m_xBuilder->weld_tree_view("menulist")) @@ -2011,8 +2010,6 @@ IMPL_LINK( SvxMainMenuOrganizerDialog, MoveHdl, weld::Button&, rButton, void ) m_xMenuListBox->insert(nTargetEntry, sId, sEntry, ""); m_xMenuListBox->select(nTargetEntry); - bModified = true; - UpdateButtonStates(); } diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 2b566bcfdfda..5d85a87408b3 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -494,7 +494,6 @@ class SvxMainMenuOrganizerDialog : public weld::GenericDialogController { std::unique_ptr<SvxEntries> mpEntries; OUString m_sNewMenuEntryId; - bool bModified; std::unique_ptr<weld::Widget> m_xMenuBox; std::unique_ptr<weld::Entry> m_xMenuNameEdit; |