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

coverity#708212 Uninitialized scalar field

Change-Id: Ib87858db74f393c1e52a78db822cb8e906cc57e9
üst 2812a4ee
...@@ -72,31 +72,33 @@ enum type { ...@@ -72,31 +72,33 @@ enum type {
struct FastPrintFontInfo struct FastPrintFontInfo
{ {
fontID m_nID; // FontID fontID m_nID; // FontID
fonttype::type m_eType; fonttype::type m_eType;
// font attributes // font attributes
OUString m_aFamilyName; OUString m_aFamilyName;
OUString m_aStyleName; OUString m_aStyleName;
std::list< OUString > m_aAliases; std::list< OUString > m_aAliases;
FontFamily m_eFamilyStyle; FontFamily m_eFamilyStyle;
FontItalic m_eItalic; FontItalic m_eItalic;
FontWidth m_eWidth; FontWidth m_eWidth;
FontWeight m_eWeight; FontWeight m_eWeight;
FontPitch m_ePitch; FontPitch m_ePitch;
rtl_TextEncoding m_aEncoding; rtl_TextEncoding m_aEncoding;
bool m_bSubsettable; bool m_bSubsettable;
bool m_bEmbeddable; bool m_bEmbeddable;
FastPrintFontInfo() : FastPrintFontInfo()
m_nID( 0 ), : m_nID(0)
m_eType( fonttype::Unknown ), , m_eType(fonttype::Unknown)
m_eFamilyStyle( FAMILY_DONTKNOW ), , m_eFamilyStyle(FAMILY_DONTKNOW)
m_eItalic( ITALIC_DONTKNOW ), , m_eItalic(ITALIC_DONTKNOW)
m_eWidth( WIDTH_DONTKNOW ), , m_eWidth(WIDTH_DONTKNOW)
m_eWeight( WEIGHT_DONTKNOW ), , m_eWeight(WEIGHT_DONTKNOW)
m_ePitch( PITCH_DONTKNOW ), , m_ePitch(PITCH_DONTKNOW)
m_aEncoding( RTL_TEXTENCODING_DONTKNOW ) , m_aEncoding(RTL_TEXTENCODING_DONTKNOW)
, m_bSubsettable(false)
, m_bEmbeddable(false)
{} {}
}; };
......
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