sd/source/ui/sidebar/MasterPagesSelector.hxx |    2 +-
 sw/inc/postithelper.hxx                      |    2 +-
 vcl/inc/jsdialog/jsdialogsender.hxx          |   16 ++++++++--------
 3 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 41de340e048c3545480c0cd209f4d1a3bb9b83ff
Author:     Noel Grandin <[email protected]>
AuthorDate: Thu Jan 16 11:14:32 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Jan 16 13:37:15 2025 +0100

    loplugin:unnecessaryvirtual
    
    Change-Id: Ided094e1c45f7beba9a12bc44b1bc68ea5d3319c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180342
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx 
b/sd/source/ui/sidebar/MasterPagesSelector.hxx
index b1c92b5d1c55..9407bf6c2f87 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx
@@ -108,7 +108,7 @@ protected:
     */
     void AssignMasterPageToSelectedSlides (SdPage* pMasterPage);
 
-    virtual void AssignMasterPageToPageList (
+    void AssignMasterPageToPageList (
         SdPage* pMasterPage,
         const std::shared_ptr<std::vector<SdPage*>>& rPageList);
 
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 01636efdeb1b..69efe61d2efe 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -107,7 +107,7 @@ public:
     SwAnnotationItem(
         SwFormatField& rFormatField,
         const bool aFocus);
-    virtual ~SwAnnotationItem();
+    ~SwAnnotationItem();
 
     SwAnnotationItem(SwAnnotationItem const &) = default;
     SwAnnotationItem(SwAnnotationItem &&) = default;
diff --git a/vcl/inc/jsdialog/jsdialogsender.hxx 
b/vcl/inc/jsdialog/jsdialogsender.hxx
index c43cf04cccb4..a83e0edbe2bd 100644
--- a/vcl/inc/jsdialog/jsdialogsender.hxx
+++ b/vcl/inc/jsdialog/jsdialogsender.hxx
@@ -57,16 +57,16 @@ public:
 
     virtual ~JSDialogSender() COVERITY_NOEXCEPT_FALSE;
 
-    virtual void sendFullUpdate(bool bForce = false);
+    void sendFullUpdate(bool bForce = false);
     void sendClose();
     void sendUpdate(const VclPtr<vcl::Window>& pWindow, bool bForce = false);
-    virtual void sendAction(const VclPtr<vcl::Window>& pWindow,
-                            std::unique_ptr<jsdialog::ActionDataMap> pData);
-    virtual void sendPopup(const VclPtr<vcl::Window>& pWindow, const OUString& 
sParentId,
-                           const OUString& sCloseId);
-    virtual void sendMenu(const VclPtr<PopupMenu>& pMenu, const OUString& 
sParentId,
-                          const OUString& sCloseId);
-    virtual void sendClosePopup(vcl::LOKWindowId nWindowId);
+    void sendAction(const VclPtr<vcl::Window>& pWindow,
+                    std::unique_ptr<jsdialog::ActionDataMap> pData);
+    void sendPopup(const VclPtr<vcl::Window>& pWindow, const OUString& 
sParentId,
+                   const OUString& sCloseId);
+    void sendMenu(const VclPtr<PopupMenu>& pMenu, const OUString& sParentId,
+                  const OUString& sCloseId);
+    void sendClosePopup(vcl::LOKWindowId nWindowId);
     void flush() { mpIdleNotify->Invoke(); }
 
 protected:

Reply via email to