[Libreoffice-commits] .: wizards/com

Lionel Elie Mamane lmamane at kemper.freedesktop.org
Tue Jun 19 21:37:13 PDT 2012


 wizards/com/sun/star/wizards/form/StyleApplier.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8d39b71f35e088f9e153e2462158ce2962cf3a8a
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Thu Nov 24 19:37:46 2011 +0100

    fdo#37626: form wizard recognise "#" also at beginning of line
    
    This was keeping the Base form wizard from applying styles

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);


More information about the Libreoffice-commits mailing list