diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-03-12 12:04:08 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-03-12 13:04:03 +0100 |
commit | a3d3e076def075f0a5bced48d89ca0d989a2467c (patch) | |
tree | c98c2eb3ba349039ac5c859bc985173b25a409d4 /bin | |
parent | 22225256e8e2c64978fdcd87c5390764a3ac7b6b (diff) |
rework Skia setup
Calls to SkiaHelper::isVCLSkiaEnabled() may be done from many places,
even if LO uses a VCL plugin that doesn't use Skia, which leads
to the Skia code not being prepared properly (and crashing/asserting).
So make the SalInstance of those relevant VCL plugins call a setup
function that is required for Skia actually getting enabled.
Avoids crashes/asserts in the About dialog if the Skia UI checkbox
is enabled but e.g. the KF5 VCL plugin is actually used.
Change-Id: Ib56a5f32e88bd130a4c564031313f85e99898ba7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90376
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions