coverity#707724 : Uninitialized scalar field

Change-Id: I5514f0906d01f3a05a145a9f45ba2a599f85b26c
This commit is contained in:
Norbert Thiebaud
2014-02-01 14:18:49 -06:00
parent fce5018777
commit 1e7dbe747e

View File

@@ -77,9 +77,15 @@ struct SvxBackgroundTable_Impl
sal_uInt16 nTableWhich; sal_uInt16 nTableWhich;
sal_uInt16 nActPos; sal_uInt16 nActPos;
SvxBackgroundTable_Impl() : SvxBackgroundTable_Impl()
pCellBrush(NULL), pRowBrush(NULL), pTableBrush(NULL), : pCellBrush(NULL)
nCellWhich(0), nRowWhich(0), nTableWhich(0) {} , pRowBrush(NULL)
, pTableBrush(NULL)
, nCellWhich(0)
, nRowWhich(0)
, nTableWhich(0)
, nActPos(0)
{}
}; };
struct SvxBackgroundPara_Impl struct SvxBackgroundPara_Impl
@@ -94,6 +100,7 @@ struct SvxBackgroundPara_Impl
, pCharBrush(NULL) , pCharBrush(NULL)
, nActPos(LISTBOX_ENTRY_NOTFOUND) , nActPos(LISTBOX_ENTRY_NOTFOUND)
{} {}
}; };
struct SvxBackgroundPage_Impl struct SvxBackgroundPage_Impl
@@ -101,8 +108,10 @@ struct SvxBackgroundPage_Impl
Timer* pLoadTimer; Timer* pLoadTimer;
sal_Bool bIsImportDlgInExecute; sal_Bool bIsImportDlgInExecute;
SvxBackgroundPage_Impl() : SvxBackgroundPage_Impl()
pLoadTimer(NULL), bIsImportDlgInExecute(sal_False) {} : pLoadTimer(NULL)
, bIsImportDlgInExecute(sal_False)
{}
}; };
static inline sal_uInt8 lcl_PercentToTransparency(long nPercent) static inline sal_uInt8 lcl_PercentToTransparency(long nPercent)