include/vcl/toolkit/MenuButton.hxx | 1 - sw/source/core/inc/swcache.hxx | 4 ---- vcl/source/control/MenuButton.cxx | 1 - 3 files changed, 6 deletions(-)
New commits: commit b8a69290b4d8d1e1dedc59fe8670fc863d866096 Author: Noel Grandin <[email protected]> AuthorDate: Tue Oct 21 13:11:04 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Tue Oct 21 17:48:13 2025 +0200 loplugin:unusedfields Change-Id: Ie4e7023ee2555227a350b7c1050b63ba32721611 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192786 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/include/vcl/toolkit/MenuButton.hxx b/include/vcl/toolkit/MenuButton.hxx index 29b2ff53a556..8aaf61d0584f 100644 --- a/include/vcl/toolkit/MenuButton.hxx +++ b/include/vcl/toolkit/MenuButton.hxx @@ -36,7 +36,6 @@ class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MenuButton : public PushButton private: friend class VclBuilder; - std::unique_ptr<Timer> mpMenuTimer; VclPtr<PopupMenu> mpMenu; VclPtr<Window> mpFloatingWindow; OUString msCurItemIdent; diff --git a/vcl/source/control/MenuButton.cxx b/vcl/source/control/MenuButton.cxx index c1fdfd6b57b5..a964d262108a 100644 --- a/vcl/source/control/MenuButton.cxx +++ b/vcl/source/control/MenuButton.cxx @@ -163,7 +163,6 @@ MenuButton::~MenuButton() void MenuButton::dispose() { - mpMenuTimer.reset(); mpFloatingWindow.reset(); if (mpMenu && mbOwnPopupMenu) mpMenu->dispose(); commit 421fb92894174e176000971b5a0aa6e4299e63a9 Author: Noel Grandin <[email protected]> AuthorDate: Tue Oct 21 13:04:27 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Tue Oct 21 17:48:04 2025 +0200 loplugin:virtualdead Change-Id: I633d059655d846b551c0c059eb55e9cba95e3bbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192785 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sw/source/core/inc/swcache.hxx b/sw/source/core/inc/swcache.hxx index e666c91f82e4..6d4517771b4e 100644 --- a/sw/source/core/inc/swcache.hxx +++ b/sw/source/core/inc/swcache.hxx @@ -144,12 +144,8 @@ class SwCacheObj void SetCachePos(const sal_uInt16 nNew) { if (m_nCachePos != nNew) - { m_nCachePos = nNew; - UpdateCachePos(); - } } - virtual void UpdateCachePos() { } protected: const void *m_pOwner;
