From 2d590370f0f30eddcc2854f5e7a209f4ece1e2fb Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Wed, 30 Nov 2016 12:23:39 +0100 Subject: [PATCH] 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 Tested-by: Christian Lohmaier Tested-by: Jenkins --- vcl/source/image/ImplImageTree.cxx | 2 ++ xmlhelp/util/main_transform.xsl | 10 +++++++--- 2 files changed, 9 insertions(+), 3 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"; diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl index f7260fed6b6e..9a40abb66f15 100644 --- a/xmlhelp/util/main_transform.xsl +++ b/xmlhelp/util/main_transform.xsl @@ -111,6 +111,7 @@ + @@ -119,9 +120,9 @@ - - - + + +