diff options
author | Andras Timar <andras.timar@collabora.com> | 2023-12-17 17:37:51 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-12-21 07:03:28 +0100 |
commit | a2a9850217b3f711440283131fdfc58a9a254919 (patch) | |
tree | e2b3c5370a6f069e99ea51b4d42b9e93d758a634 /solenv | |
parent | 8555c3180c367d684af48b7ecb7ceb333fcd0962 (diff) |
get rid of warnings when reportbuilder is not configured for build
In the LOK case for example, where there is no reportbuilder, there
were a lot of bogus warning messages at startup, confimgr complained
that there were translations for non existing configuration nodes,
all belonged to reportbuilder.
Change-Id: I7f9cef3206bddd9e333b97ee966fb950fbb352d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160887
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161048
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/removereportbuilder.xslt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/solenv/bin/removereportbuilder.xslt b/solenv/bin/removereportbuilder.xslt new file mode 100644 index 000000000000..1c2b0135feb9 --- /dev/null +++ b/solenv/bin/removereportbuilder.xslt @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. +--> + +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:oor="http://openoffice.org/2001/registry"> +<xsl:template match="*"> + <xsl:copy> + <xsl:copy-of select="@*"/> + <xsl:apply-templates/> + </xsl:copy> +</xsl:template> +<xsl:template match="*[@oor:name='com.sun.star.report.ReportDefinition']"/> +</xsl:stylesheet> |