diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-24 19:37:46 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-20 10:15:25 +0200 |
commit | ca28a2430e392d7a7fe6f636da446095e55c3676 (patch) | |
tree | 199df33506b950119ac3166ddbafd7bcfd65970c | |
parent | 78ef70018013f4f02fdecaac8dbf2ab51ad247d2 (diff) |
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 <fridrich.strba@bluewin.ch>
-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); |