include/svx/svdobj.hxx | 2 +- include/vcl/weld/customweld.hxx | 2 +- include/vcl/weld/weld.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 9996a50c33b97b3a8a6854335a55cbf67fdf4c3f Author: Noel Grandin <[email protected]> AuthorDate: Mon Dec 22 16:53:12 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Tue Dec 23 10:49:44 2025 +0100 loplugin:unnecessaryvirtual Change-Id: Ic686cca26d1c8a7e3acffa1e0941f2f9c367dbd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196148 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index 9a788d4eee0c..8b679ecc2373 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -382,7 +382,7 @@ public: // GrabBagItem for interim interop purposes void GetGrabBagItem(css::uno::Any& rVal) const; - virtual void SetGrabBagItem(const css::uno::Any& rVal); + void SetGrabBagItem(const css::uno::Any& rVal); // Return the position in the navigation order for the called object. // Note that this method may update the navigation position of the diff --git a/include/vcl/weld/customweld.hxx b/include/vcl/weld/customweld.hxx index a46188eabc85..7292c9b4c89c 100644 --- a/include/vcl/weld/customweld.hxx +++ b/include/vcl/weld/customweld.hxx @@ -41,7 +41,7 @@ public: virtual tools::Rectangle GetFocusRect() { return tools::Rectangle(); } virtual FactoryFunction GetUITestFactory() const { return nullptr; } virtual OUString RequestHelp(tools::Rectangle&) { return OUString(); } - virtual OUString GetHelpText() const { return m_pDrawingArea->get_tooltip_text(); } + OUString GetHelpText() const { return m_pDrawingArea->get_tooltip_text(); } Size const& GetOutputSizePixel() const { return m_aSize; } void SetOutputSizePixel(const Size& rSize) { m_aSize = rSize; } virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) { m_pDrawingArea = pDrawingArea; } diff --git a/include/vcl/weld/weld.hxx b/include/vcl/weld/weld.hxx index 9fa282ccff6d..4e892231fec3 100644 --- a/include/vcl/weld/weld.hxx +++ b/include/vcl/weld/weld.hxx @@ -140,7 +140,7 @@ public: // This function simply calls show() or hide() but is convenient when the // visibility depends on some condition - virtual void set_visible(bool visible) + void set_visible(bool visible) { if (visible) show();
