coverity#1038499 : Uninitialized scalar field

Change-Id: I51b25a89a6f5184516a17819673e9b52c781eb09
This commit is contained in:
Norbert Thiebaud
2014-01-27 02:59:55 -06:00
parent d75595b28e
commit a3e1b357f1

View File

@@ -203,11 +203,12 @@ const sal_uInt16 SmElementsControl::aOthers[][2] =
{RID_DOTSUP, RID_DOTSUP_HELP}, {RID_DOTSDOWN, RID_DOTSDOWN_HELP}
};
SmElementsControl::SmElementsControl(Window *pParent, const ResId& rResId) :
Control(pParent, rResId),
mpDocShell(new SmDocShell(SFXOBJECTSHELL_STD_NORMAL)),
mpCurrentElement(NULL),
mbVerticalMode(true)
SmElementsControl::SmElementsControl(Window *pParent, const ResId& rResId)
: Control(pParent, rResId)
, mpDocShell(new SmDocShell(SFXOBJECTSHELL_STD_NORMAL))
, maCurrentSetId(0)
, mpCurrentElement(NULL)
, mbVerticalMode(true)
{
maFormat.SetBaseSize(PixelToLogic(Size(0, 24)));
}