vcl/source/window/menu.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 73fc0f7a00f9b0d395709c302347d702b763f48b
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Fri Jun 14 23:39:36 2013 +0200

    cppcheck: fix uninitMemberVar in menu.cxx (vcl)
    
    Just add those detected by cppcheck, should the others also be taken into 
account?
    
    Change-Id: I4f86afc787d2416b829e332272331a5caa146d45

diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 2d39189..aeb2d3d 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -136,11 +136,14 @@ struct MenuItemData
     SalMenuItem*    pSalMenuItem;           // access to native menu
 
                     MenuItemData() :
-                        pSalMenuItem ( NULL )
+                        pSubMenu(NULL), pAutoSubMenu(NULL), 
nItemImageAngle(0), pSalMenuItem ( NULL )
                     {}
                     MenuItemData( const XubString& rStr, const Image& rImage ) 
:
+                        pSubMenu(NULL),
+                        pAutoSubMenu(NULL),
                         aText( rStr ),
                         aImage( rImage ),
+                        nItemImageAngle(0),
                         pSalMenuItem ( NULL )
                     {}
                     ~MenuItemData();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to