Files
libreoffice/vcl/source
Caolán McNamara ecab8f30de cid#1492159 Uninitialized scalar field
since...

commit c2e6a068c1
Date:   Wed Sep 8 12:07:48 2021 +1000

    vcl: create FontMetric from PhysicalFontFace

where previously we had...

 FontMetric aFontMetric;
 ...
 aFontMetric.SetFamilyName( rData.GetFamilyName() );
 ...
 return aFontMetric;

so the FontMetric default ctor was called which initialized all
FontMetric's members, but afterwards with...

 return FontMetric(rData);

the new FontMetric ctor taking a const PhysicalFontFace& arg left all
the non-inherited members of FontMetric uninitialized

Change-Id: I91ee08ed1d63d15eccec44c87841884b2992eacb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122317
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-19 15:07:26 +02:00
..
2021-09-15 12:43:21 +02:00
2021-09-15 12:43:21 +02:00
2021-09-07 17:59:47 +02:00