• Michael Stahl's avatar
    vcl: OutputDevice::GetTextArray() should always init pDXAry · 708050dc
    Michael Stahl yazdı
    CppunitTest_writerperfect_writer file libmwaw/pass/Acta_1.0.hqx uses the
    font "Courier", and for unknown reasons we can't properly load that
    font, because the PhysicalFontFamily::mpFirst for "courier" is null.
    
    This causes OutputDevice::GetTextArray() to fail to create a SalLayout
    and return early before initializing the passed pDXAry, which then
    generates lots of DrMemory warnings.
    
    Let's hope the callers are happy about an all-0 pDXAry.
    
    Change-Id: I07b29a59660cf5cd060fd77da5d96021f9d8f9f5
    (cherry picked from commit e6e409b6)
    708050dc
Adı
Son kayıt (commit)
Son güncelleme
..
bitmap.cxx Loading commit data...
clipping.cxx Loading commit data...
curvedshapes.cxx Loading commit data...
font.cxx Loading commit data...
gradient.cxx Loading commit data...
hatch.cxx Loading commit data...
line.cxx Loading commit data...
map.cxx Loading commit data...
mask.cxx Loading commit data...
nativecontrols.cxx Loading commit data...
outdev.cxx Loading commit data...
outdevstate.cxx Loading commit data...
outdevstatestack.cxx Loading commit data...
pixel.cxx Loading commit data...
polygon.cxx Loading commit data...
polyline.cxx Loading commit data...
rect.cxx Loading commit data...
rendersettings.cxx Loading commit data...
text.cxx Loading commit data...
textline.cxx Loading commit data...
transparent.cxx Loading commit data...
wallpaper.cxx Loading commit data...