summaryrefslogtreecommitdiff
path: root/vcl/source/image
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2016-11-30 12:23:39 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-05-12 13:49:25 +0200
commit2d590370f0f30eddcc2854f5e7a209f4ece1e2fb (patch)
treee4609aa97c537c0bb5215530502ab507eb4f01fc /vcl/source/image
parent73f04a42a2d0eb2bd126f6d57854d1a6cfd1b787 (diff)
Look for help-specific images in the new images_helpimg archive
This requires distinguishing between 2 kinds of images: internal to help (in helpcontent2/media/ and helpcontent2/res subfolder) and external images from core repo (mostly icons) referenced in help Change-Id: If1d639c255fb802c3ee7d7eab10fc0a84324f335 Reviewed-on: https://gerrit.libreoffice.org/31417 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'vcl/source/image')
-rw-r--r--vcl/source/image/ImplImageTree.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx
index 508be2cb53f6..576d6c0c0d28 100644
--- a/vcl/source/image/ImplImageTree.cxx
+++ b/vcl/source/image/ImplImageTree.cxx
@@ -264,6 +264,8 @@ OUString ImplImageTree::fallbackStyle(const OUString& rsStyle)
sResult = "galaxy";
else if (rsStyle == "sifr" || rsStyle == "breeze_dark")
sResult = "breeze";
+ else if (rsStyle == "helpimg")
+ sResult = "";
else
sResult = "tango";