[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Thu Aug 27 03:08:33 PDT 2015


 vcl/source/window/menuwindow.hxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit c80bd6fc7c066b7b8da1e1135852155d867f559b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 27 12:08:03 2015 +0200

    No need for a vitual ~MenuWindow
    
    ...at least while MenuWindow is mostly a TODO still;
    and ImplHanldeHelpEvent can be protected
    
    Change-Id: Ice0bb37e7e774e51445a9d78b2cf5eaba12f6341

diff --git a/vcl/source/window/menuwindow.hxx b/vcl/source/window/menuwindow.hxx
index 986b888..a61b41e 100644
--- a/vcl/source/window/menuwindow.hxx
+++ b/vcl/source/window/menuwindow.hxx
@@ -50,9 +50,7 @@ common class for MenuFloatingWindow and MenuBarWindow:
 */
 class MenuWindow
 {
-public:
-    virtual ~MenuWindow() {}
-
+protected:
     /// Show the appropriate help tooltip.
     static bool ImplHandleHelpEvent(vcl::Window* pMenuWindow, Menu* pMenu, sal_uInt16 nHighlightedItem,
             const HelpEvent& rHEvt, const Rectangle &rHighlightRect);


More information about the Libreoffice-commits mailing list