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

New commits:
commit ca28a2430e392d7a7fe6f636da446095e55c3676
Author: Lionel Elie Mamane <[email protected]>
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
    
    Signed-off-by: Fridrich Å trba <[email protected]>

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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to