diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-27 00:57:56 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-27 01:07:00 -0600 |
commit | e0696359a0b4a9ac2e3f1a84d69e8f43488aea3b (patch) | |
tree | 485ff3e496db1ef2c06f5390ebb6a209422f52ba /svtools | |
parent | 7d6fbec1378cfc304ff36c46d24764aeec501887 (diff) |
coverity#1079289 : Uninitialized scalar field
Change-Id: I4663e3d0c5f0fe4288fba1ba4203e2de5ba4e986
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/ivctrl.cxx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx index 09f46caf5473..f3512a54d3a0 100644 --- a/svtools/source/contnr/ivctrl.cxx +++ b/svtools/source/contnr/ivctrl.cxx @@ -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 |