diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-25 22:42:16 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-11-28 14:15:53 +0100 |
commit | a50165a9b96198e6a5b9da9fca3158fcf113066e (patch) | |
tree | 61bc8de34872203d38361eafe4189b4d4abf6af7 /cui | |
parent | fbd8717061d8ecec0d056f655987b6cb9960e4b7 (diff) |
vcl: OutputDevice::GetTextArray() should always init pDXAry
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 e6e409b684f9b046dcde9f0615018508f769c369)
Reviewed-on: https://gerrit.libreoffice.org/20206
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 273be431c62aaf5fabe218cae57e8f3f9fe049e1)
Diffstat (limited to 'cui')
0 files changed, 0 insertions, 0 deletions