summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-06-18 10:43:16 +0200
committerAndras Timar <andras.timar@collabora.com>2019-06-18 12:39:41 +0200
commit7b9ec19bc2447389d7648401aa40ff8797e0c6af (patch)
treef98edec0eec7efb5e056cb5827da2cc446f924d6
parent05eca1ba63a2eca5e6d6be0b7a05bb6f53354ec6 (diff)
[cp] android: Default to colibre.
Not ideal to use an ifdef, but I don't want to affect anything other than Android; and there is no need to up-stream this either, colibre is the default in master already. Change-Id: I3b1a29b69cfda89c8615586a5afc78fd1eca8c3e Reviewed-on: https://gerrit.libreoffice.org/74266 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--vcl/source/image/ImplImageTree.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx
index 1a41d175a0b1..65a9b5562114 100644
--- a/vcl/source/image/ImplImageTree.cxx
+++ b/vcl/source/image/ImplImageTree.cxx
@@ -258,6 +258,12 @@ OUString ImplImageTree::fallbackStyle(const OUString& rsStyle)
{
OUString sResult;
+#ifdef ANDROID
+ if (rsStyle == "colibre")
+ return "";
+ else
+ return "colibre";
+#else
if (rsStyle == "galaxy")
sResult = "";
else if (rsStyle == "industrial" || rsStyle == "tango" || rsStyle == "breeze")
@@ -272,6 +278,7 @@ OUString ImplImageTree::fallbackStyle(const OUString& rsStyle)
sResult = "tango";
return sResult;
+#endif
}
bool ImplImageTree::loadImage(OUString const & rName, OUString const & rStyle, BitmapEx & rBitmap, bool localized,