summaryrefslogtreecommitdiff
path: root/vcl/source/filter/graphicfilter.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2020-03-10 15:04:43 +0100
committerMichael Meeks <michael.meeks@collabora.com>2020-05-14 18:17:49 +0100
commitb5bb57f8bd94636fe078125b3cd14130f7a7b05f (patch)
treece26da3e5242a9d5718792f46fdd9a220955ecd6 /vcl/source/filter/graphicfilter.cxx
parentbbaaf2aa27b0c59da00dd17a8bf2d67ae1bb4d14 (diff)
android: Use the best speed compression as on iOS.
Change-Id: Ib2be570a924c6ac6e226f47e6b183975df1fca2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90258 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 07fb148971b6853c2020cea6660fa62d6caacb85) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90281 Tested-by: Jenkins
Diffstat (limited to 'vcl/source/filter/graphicfilter.cxx')
-rw-r--r--vcl/source/filter/graphicfilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 468ff983c4f2..4a5963f8d377 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -2275,7 +2275,7 @@ IMPL_LINK( GraphicFilter, FilterCallback, ConvertData&, rData, bool )
else if( !aShortName.isEmpty() )
{
// Export
-#ifdef IOS
+#if defined(IOS) || defined(ANDROID)
if (aShortName == PNG_SHORTNAME)
{
aFilterData.realloc(aFilterData.getLength() + 1);