commit c93a43c0c9113bc1c787fe6b3c5e58a8bfd80be0
Author: Caolán McNamara <caolanm@redhat.com>
Date: Mon Jan 11 17:08:39 2016 +0000
initialize new member variables
Change-Id: I3839bc134b337ccb7cfdb2ee70524e4721c8f83c
diff --git a/vcl/source/font/fontattributes.cxx b/vcl/source/font/fontattributes.cxx
index be3ab68..49060f0 100644
--- a/vcl/source/font/fontattributes.cxx
+++ b/vcl/source/font/fontattributes.cxx
@@ -93,7 +93,18 @@ bool FontAttributes::CompareDeviceIndependentFontAttributes(const FontAttributes
}
FontAttributes::FontAttributes()
- : mnWidth ( 0 )
+ : meWeight(WEIGHT_DONTKNOW)
+ , meItalic(ITALIC_DONTKNOW)
+ , meFamily(FAMILY_DONTKNOW)
+ , mePitch(PITCH_DONTKNOW)
+ , meWidthType(WIDTH_DONTKNOW)
+ , mbSymbolFlag(false)
+ , mnQuality(0)
+ , mbOrientation(false)
+ , mbDevice(false)
+ , mbSubsettable(false)
+ , mbEmbeddable(false)
+ , mnWidth ( 0 )
, mnOrientation( 0 )
, mnAscent( 0 )
, mnDescent( 0 )
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.