coverity#707724 : Uninitialized scalar field
Change-Id: I5514f0906d01f3a05a145a9f45ba2a599f85b26c
This commit is contained in:
@@ -72,14 +72,20 @@ struct SvxBackgroundTable_Impl
|
|||||||
SvxBrushItem* pCellBrush;
|
SvxBrushItem* pCellBrush;
|
||||||
SvxBrushItem* pRowBrush;
|
SvxBrushItem* pRowBrush;
|
||||||
SvxBrushItem* pTableBrush;
|
SvxBrushItem* pTableBrush;
|
||||||
sal_uInt16 nCellWhich;
|
sal_uInt16 nCellWhich;
|
||||||
sal_uInt16 nRowWhich;
|
sal_uInt16 nRowWhich;
|
||||||
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,15 +100,18 @@ struct SvxBackgroundPara_Impl
|
|||||||
, pCharBrush(NULL)
|
, pCharBrush(NULL)
|
||||||
, nActPos(LISTBOX_ENTRY_NOTFOUND)
|
, nActPos(LISTBOX_ENTRY_NOTFOUND)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SvxBackgroundPage_Impl
|
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)
|
||||||
|
Reference in New Issue
Block a user