diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-03-22 19:06:15 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-03-23 10:58:45 +0100 |
commit | cd09fc9451897e6efedbf9f5e1d5b9bd96e65cb5 (patch) | |
tree | 9338ffb04f31d4539ae9c3e3d1cbcc1cb4e85c91 /vcl/headless | |
parent | 1c0c2bb7920f5da7562a053019514d1e4cbdf1f6 (diff) |
do not enable mbSupportsBitmap32 for headless (tdf#141171)
As said e.g. in 994b8e52fc02c7468a24 and 84f84f59ce7c83a99e4e340071d,
LO code is not yet fully ready for 32bit bitmaps and e.g. PDF export
code mishandles it.
Change-Id: Ib24a0edfc82785309915132a19bd6d25ee773066
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112936
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpinst.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index b5540301f21c..954f6539d2e6 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -594,10 +594,12 @@ void SvpSalInstance::AddToRecentDocumentList(const OUString&, const OUString&, c std::shared_ptr<vcl::BackendCapabilities> SvpSalInstance::GetBackendCapabilities() { auto pBackendCapabilities = SalInstance::GetBackendCapabilities(); +#if 0 // LO code is not yet bitmap32-ready. #ifndef IOS // Note: This code is used for iOS, too. Let's not use 32-bit bitmaps with included alpha on iOS for now. pBackendCapabilities->mbSupportsBitmap32 = true; #endif +#endif return pBackendCapabilities; } |