Kaydet (Commit) aad580af authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738900 Uninitialized scalar field

Change-Id: I71eef3a4ffddac418b79866c0080c2d2d58a8226
üst df889fb5
...@@ -50,7 +50,8 @@ SwMasterUsrPref::SwMasterUsrPref(sal_Bool bWeb) : ...@@ -50,7 +50,8 @@ SwMasterUsrPref::SwMasterUsrPref(sal_Bool bWeb) :
bIsHScrollMetricSet(sal_False), bIsHScrollMetricSet(sal_False),
bIsVScrollMetricSet(sal_False), bIsVScrollMetricSet(sal_False),
nDefTab( MM50 * 4 ), nDefTab( MM50 * 4 ),
bIsSquaredPageMode(sal_False), bIsSquaredPageMode(false),
bIsAlignMathObjectsToBaseline(false),
aContentConfig(bWeb, *this), aContentConfig(bWeb, *this),
aLayoutConfig(bWeb, *this), aLayoutConfig(bWeb, *this),
aGridConfig(bWeb, *this), aGridConfig(bWeb, *this),
...@@ -60,6 +61,7 @@ SwMasterUsrPref::SwMasterUsrPref(sal_Bool bWeb) : ...@@ -60,6 +61,7 @@ SwMasterUsrPref::SwMasterUsrPref(sal_Bool bWeb) :
{ {
MeasurementSystem eSystem = SvtSysLocale().GetLocaleData().getMeasurementSystemEnum(); MeasurementSystem eSystem = SvtSysLocale().GetLocaleData().getMeasurementSystemEnum();
eUserMetric = MEASURE_METRIC == eSystem ? FUNIT_CM : FUNIT_INCH; eUserMetric = MEASURE_METRIC == eSystem ? FUNIT_CM : FUNIT_INCH;
eHScrollMetric = eVScrollMetric = eUserMetric;
aContentConfig.Load(); aContentConfig.Load();
aLayoutConfig.Load(); aLayoutConfig.Load();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment