[Libreoffice-commits] core.git: compilerplugins/clang sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 29 17:11:54 UTC 2019


 compilerplugins/clang/unnecessaryvirtual.results |    2 --
 sw/source/ui/dbui/mmaddressblockpage.hxx         |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit b24fc665c83f734b29e3aeb69150fb1a2fa46331
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Nov 29 12:10:32 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Nov 29 18:10:48 2019 +0100

    unnecessary virtual
    
    Change-Id: I918a8c51e55919555108c075d396b04b4dcafbd1
    Reviewed-on: https://gerrit.libreoffice.org/84061
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/compilerplugins/clang/unnecessaryvirtual.results b/compilerplugins/clang/unnecessaryvirtual.results
index c2ba2ddd41eb..568273d4d5b5 100644
--- a/compilerplugins/clang/unnecessaryvirtual.results
+++ b/compilerplugins/clang/unnecessaryvirtual.results
@@ -220,8 +220,6 @@ sw/inc/flypos.hxx:37
     void SwPosFlyFrame::~SwPosFlyFrame()
 sw/source/core/inc/dflyobj.hxx:55
     void SwFlyDrawObj::SetTextBox(_Bool,)
-sw/source/ui/dbui/mmaddressblockpage.hxx:239
-    class weld::TreeView * SwCustomizeAddressBlockDialog::get_drag_source()const
 vcl/inc/salframe.hxx:145
     void SalFrame::SetRepresentedURL(const class rtl::OUString &,)
 vcl/inc/salframe.hxx:191
diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx
index 2fc3f7e54e1f..6d173043f171 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.hxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.hxx
@@ -236,7 +236,7 @@ public:
     void UpdateFields();
 
     // for dragging from the TreeViews, return the active source
-    virtual weld::TreeView* get_drag_source() const { return m_xAddressElementsLB->get_drag_source(); }
+    weld::TreeView* get_drag_source() const { return m_xAddressElementsLB->get_drag_source(); }
     bool            HasItem(sal_Int32 nUserData);
 
     void SetAddress(const OUString& rAddress);


More information about the Libreoffice-commits mailing list