summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-24 14:21:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-24 15:05:01 +0000
commit2bcd43bcc2e7dc9ea155271f819d797a23159366 (patch)
treebd8540ecb43b09e2bb408c7f4ed55b426cc7d421 /vcl
parent2812a4eea7f209123ff5419f497f47fff2aa22f0 (diff)
coverity#708212 Uninitialized scalar field
Change-Id: Ib87858db74f393c1e52a78db822cb8e906cc57e9
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/fontmanager.hxx42
1 files changed, 22 insertions, 20 deletions
diff --git a/vcl/inc/fontmanager.hxx b/vcl/inc/fontmanager.hxx
index a028a20fd6cb..94ce3b282553 100644
--- a/vcl/inc/fontmanager.hxx
+++ b/vcl/inc/fontmanager.hxx
@@ -72,31 +72,33 @@ enum type {
struct FastPrintFontInfo
{
- fontID m_nID; // FontID
- fonttype::type m_eType;
+ fontID m_nID; // FontID
+ fonttype::type m_eType;
// font attributes
OUString m_aFamilyName;
OUString m_aStyleName;
std::list< OUString > m_aAliases;
- FontFamily m_eFamilyStyle;
- FontItalic m_eItalic;
- FontWidth m_eWidth;
- FontWeight m_eWeight;
- FontPitch m_ePitch;
- rtl_TextEncoding m_aEncoding;
- bool m_bSubsettable;
- bool m_bEmbeddable;
-
- FastPrintFontInfo() :
- m_nID( 0 ),
- m_eType( fonttype::Unknown ),
- m_eFamilyStyle( FAMILY_DONTKNOW ),
- m_eItalic( ITALIC_DONTKNOW ),
- m_eWidth( WIDTH_DONTKNOW ),
- m_eWeight( WEIGHT_DONTKNOW ),
- m_ePitch( PITCH_DONTKNOW ),
- m_aEncoding( RTL_TEXTENCODING_DONTKNOW )
+ FontFamily m_eFamilyStyle;
+ FontItalic m_eItalic;
+ FontWidth m_eWidth;
+ FontWeight m_eWeight;
+ FontPitch m_ePitch;
+ rtl_TextEncoding m_aEncoding;
+ bool m_bSubsettable;
+ bool m_bEmbeddable;
+
+ FastPrintFontInfo()
+ : m_nID(0)
+ , m_eType(fonttype::Unknown)
+ , m_eFamilyStyle(FAMILY_DONTKNOW)
+ , m_eItalic(ITALIC_DONTKNOW)
+ , m_eWidth(WIDTH_DONTKNOW)
+ , m_eWeight(WEIGHT_DONTKNOW)
+ , m_ePitch(PITCH_DONTKNOW)
+ , m_aEncoding(RTL_TEXTENCODING_DONTKNOW)
+ , m_bSubsettable(false)
+ , m_bEmbeddable(false)
{}
};