My fix for fdo#37626 was reverted by
commit b35b7080980c0ba43f411db469feb30f8a5c6881
Author: Michael Meeks <michael.meeks@suse.com>
Date: Fri Dec 2 17:15:48 2011 +0000
pywizards: resurrect Xisco's code lost in rebasing
Xisco merged this to master and then deleted it on master, which
cause
these files to get lost during the re-base across that.
From the commit message, it seems to me this hunk was not intended to
be part of this commit.
Please reapply to libreoffice-3-5.
Thanks.
--
Lionel
From 2354cf3bc358ffb627a49ddc58f54b27addefd55 Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lionel@mamane.lu>
Date: Thu, 24 Nov 2011 19:37:46 +0100
Subject: [PATCH] fdo#37626: form wizard recognise "#" also at beginning of
line
This was keeping the Base form wizard from applying styles
---
wizards/com/sun/star/wizards/form/StyleApplier.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java
b/wizards/com/sun/star/wizards/form/StyleApplier.java
index 1dedca3..433384c 100644
--- a/wizards/com/sun/star/wizards/form/StyleApplier.java
+++ b/wizards/com/sun/star/wizards/form/StyleApplier.java
@@ -343,7 +343,7 @@ public class StyleApplier
String[] sPropList = JavaTools.ArrayoutofString(scurline, ":");
String sPropValue = sPropList[1];
sPropValue = sPropValue.trim();
- if (sPropValue.indexOf("#") > 0)
+ if (sPropValue.indexOf("#") > -1)
{
sPropValue = JavaTools.replaceSubString(sPropValue,
PropertyNames.EMPTY_STRING, PropertyNames.SEMI_COLON);
sPropValue = JavaTools.replaceSubString(sPropValue,
PropertyNames.EMPTY_STRING, PropertyNames.SPACE);
--
1.7.10
Context
- [PATCH] [REVIEW:3-5] fdo#37626 form wizard does not apply background colour from style · Lionel Elie Mamane
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.