coverity#1079289 : Uninitialized scalar field

Change-Id: I4663e3d0c5f0fe4288fba1ba4203e2de5ba4e986
This commit is contained in:
Norbert Thiebaud
2014-01-27 00:57:56 -06:00
parent 7d6fbec137
commit e0696359a0

View File

@@ -31,16 +31,20 @@ using namespace ::com::sun::star::accessibility;
|
\*****************************************************************************/
SvxIconChoiceCtrlEntry::SvxIconChoiceCtrlEntry( const OUString& rText, const Image& rImage, sal_uInt16 _nFlags )
SvxIconChoiceCtrlEntry::SvxIconChoiceCtrlEntry( const OUString& rText,
const Image& rImage,
sal_uInt16 _nFlags )
: aImage(rImage)
, aText(rText)
, pUserData(NULL)
, nPos(0)
, pblink(0)
, pflink(0)
, eTextMode(IcnShowTextShort)
, nX(0)
, nY(0)
, nFlags(_nFlags)
{
aText = rText;
aImage = rImage;
pUserData = NULL;
nFlags = _nFlags;
eTextMode = IcnShowTextShort;
pblink = 0;
pflink = 0;
}
OUString SvxIconChoiceCtrlEntry::GetDisplayText() const