summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-05 12:06:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-05 12:08:14 +0100
commit87d26811113f0188397a8b97a9b59bc2af3e4091 (patch)
tree7dcbd098cb28057893a7b6bf8bb0be9df3bb507a /sw
parentd13e7ae4673d2252d9ac74238a2e8ad7a6a045af (diff)
CID#1079333 Uninitialized scalar field
Change-Id: I98accfecd5922d6882dfe97c8c72fff3afa5392c
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/utlui/prcntfld.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/ui/utlui/prcntfld.cxx b/sw/source/ui/utlui/prcntfld.cxx
index e2f217b52e56..6f54165addf7 100644
--- a/sw/source/ui/utlui/prcntfld.cxx
+++ b/sw/source/ui/utlui/prcntfld.cxx
@@ -21,10 +21,15 @@
#include "prcntfld.hxx"
PercentField::PercentField()
- : nOldMax(0)
+ : m_pField(NULL)
+ , nRefValue(0)
+ , nOldMax(0)
, nOldMin(0)
+ , nOldSpinSize(0)
+ , nOldBaseValue(0)
, nLastPercent(-1)
, nLastValue(-1)
+ , nOldDigits(0)
, eOldUnit(FUNIT_NONE)
, bLockAutoCalculation(sal_False)
{