diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-10-07 10:36:31 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-10-07 10:36:31 +0200 |
commit | 751a89b9d120eccc6c4b53e3b398149f29c79ed9 (patch) | |
tree | e75526665c9c28811341e9ef0c53f75b6e68a328 /vcl | |
parent | 8f6f9e4217d03d874fb1ce391730a1c893ab6844 (diff) |
vcl: fix Android build
UNX is defined for Android. Other code in the same file has guards like:
#if !defined(ANDROID) && !defined(IOS)
but this is already in an
#ifndef IOS
block, so just check for ANDROID.
Change-Id: I73f92ef5702ec1f1385e2ffa0ea3dbedf7d3b6a2
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 31b9f4558e44..4687bf1dce4c 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -247,7 +247,7 @@ std::unique_ptr<SalVirtualDevice> SvpSalInstance::CreateVirtualDevice(SalGraphic { SvpSalGraphics *pSvpSalGraphics = dynamic_cast<SvpSalGraphics*>(pGraphics); assert(pSvpSalGraphics); -#if defined(UNX) +#ifndef ANDROID // tdf#127529 normally pPreExistingTarget is null and we are a true virtualdevice drawing to a backing buffer. // Occasionally, for canvas/slideshow, pPreExistingTarget is pre-provided as a hack to use the vcl drawing // apis to render onto a preexisting cairo surface. The necessity for that precedes the use of cairo in vcl proper |