coverity#707812 Uninitialized scalar field
Change-Id: I04e65d6c0124a2f370ae006bbaa991d5e7753e12
This commit is contained in:
@@ -91,7 +91,7 @@ typedef struct TextEntry
|
|||||||
TextAttribute* pAttribute;
|
TextAttribute* pAttribute;
|
||||||
} TextEntry;
|
} TextEntry;
|
||||||
|
|
||||||
typedef struct ZoneOption
|
struct ZoneOption
|
||||||
{
|
{
|
||||||
char nOverTitle;
|
char nOverTitle;
|
||||||
char nOverBody;
|
char nOverBody;
|
||||||
@@ -105,18 +105,43 @@ typedef struct ZoneOption
|
|||||||
char nFFillc_Title;
|
char nFFillc_Title;
|
||||||
char nFFillc_Body;
|
char nFFillc_Body;
|
||||||
char nFFillc_Foot;
|
char nFFillc_Foot;
|
||||||
} ZoneOption;
|
ZoneOption()
|
||||||
|
: nOverTitle(0)
|
||||||
|
, nOverBody(0)
|
||||||
|
, nOverFoot(0)
|
||||||
|
, nFStyle_Title(0)
|
||||||
|
, nFStyle_Body(0)
|
||||||
|
, nFStyle_Foot(0)
|
||||||
|
, nFOutc_Title(0)
|
||||||
|
, nFOutc_Body(0)
|
||||||
|
, nFOutc_Foot(0)
|
||||||
|
, nFFillc_Title(0)
|
||||||
|
, nFFillc_Body(0)
|
||||||
|
, nFFillc_Foot(0)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct BulletOption
|
struct BulletOption
|
||||||
{
|
{
|
||||||
char nBType;
|
char nBType;
|
||||||
char nBSize;
|
char nBSize;
|
||||||
char nBColor;
|
char nBColor;
|
||||||
sal_Int16 nBStart;
|
sal_Int16 nBStart;
|
||||||
double nTMargin;
|
double nTMargin;
|
||||||
double nBSpace;
|
double nBSpace;
|
||||||
char nCPlace;
|
char nCPlace;
|
||||||
} BulletOption;
|
BulletOption()
|
||||||
|
: nBType(0)
|
||||||
|
, nBSize(0)
|
||||||
|
, nBColor(0)
|
||||||
|
, nBStart(0)
|
||||||
|
, nTMargin(0)
|
||||||
|
, nBSpace(0)
|
||||||
|
, nCPlace(0)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct BulDef
|
typedef struct BulDef
|
||||||
{
|
{
|
||||||
@@ -131,7 +156,7 @@ typedef struct BulletLines
|
|||||||
BulDef nBulDef[ 48 ];
|
BulDef nBulDef[ 48 ];
|
||||||
} BulletLines;
|
} BulletLines;
|
||||||
|
|
||||||
typedef struct IntSettings
|
struct IntSettings
|
||||||
{
|
{
|
||||||
sal_uInt16 nCountry;
|
sal_uInt16 nCountry;
|
||||||
sal_uInt16 nDateFormat;
|
sal_uInt16 nDateFormat;
|
||||||
@@ -141,7 +166,18 @@ typedef struct IntSettings
|
|||||||
sal_uInt16 nNumSeps;
|
sal_uInt16 nNumSeps;
|
||||||
sal_uInt16 nCurrencyFormat;
|
sal_uInt16 nCurrencyFormat;
|
||||||
char nCurrencySymbol[ 5 ];
|
char nCurrencySymbol[ 5 ];
|
||||||
} IntSettings;
|
IntSettings()
|
||||||
|
: nCountry(0)
|
||||||
|
, nDateFormat(0)
|
||||||
|
, nDateSep(0)
|
||||||
|
, nTimeFormat(0)
|
||||||
|
, nTimeSep(0)
|
||||||
|
, nNumSeps(0)
|
||||||
|
, nCurrencyFormat(0)
|
||||||
|
{
|
||||||
|
memset (nCurrencySymbol, 0, sizeof(nCurrencySymbol));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct PageOrientDim
|
typedef struct PageOrientDim
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user