summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-06-14 23:39:36 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-06-14 23:39:36 +0200
commit73fc0f7a00f9b0d395709c302347d702b763f48b (patch)
treee46ee26f5d8498aa965a286b474ba566ae862fb6 /vcl
parent3ae9f3ad1fb584d9b266dd8b09bc4d2c441557c4 (diff)
cppcheck: fix uninitMemberVar in menu.cxx (vcl)
Just add those detected by cppcheck, should the others also be taken into account? Change-Id: I4f86afc787d2416b829e332272331a5caa146d45
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 2d391893cea1..aeb2d3d8ddfc 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();