My fix for fdo#37626 was reverted by commit b35b7080980c0ba43f411db469feb30f8a5c6881 Author: Michael Meeks <michael.me...@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 <lio...@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
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice