diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-24 19:37:46 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-06-20 06:35:21 +0200 |
commit | 15fc21e6ca8f461286ca4bc88ebb74beca54213b (patch) | |
tree | 74b4485aa91175c50db1de753e18820834fa3418 /wizards | |
parent | b085cdc1333d25bac22bb427fbf065c01e7e7df6 (diff) |
fdo#37626: form wizard recognise "#" also at beginning of line
This was keeping the Base form wizard from applying styles
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/form/StyleApplier.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java index 1dedca3b636d..433384cfecb1 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); |