summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-27 02:59:55 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-27 03:24:18 -0600
commita3e1b357f1de4eb846683ad282b74dfff19a91dd (patch)
treee8f1f6baaa8b43b031d3ec92c4b0de3e7bd9904a /starmath
parentd75595b28e0145c0fa90b0fcbefa33e40dd43ca9 (diff)
coverity#1038499 : Uninitialized scalar field
Change-Id: I51b25a89a6f5184516a17819673e9b52c781eb09
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index eee6938ab72a..e093db0c300d 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -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)));
}