summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-11-24 19:37:46 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2011-11-24 19:40:49 +0100
commitef3a19eed2dc3aaddf3d48a204eff934b7002055 (patch)
tree5df96c66ebb3ab48cfea082f38e071af7495aef6 /wizards
parent8d2780d42f6ee67688f176b0e04bc294575550ba (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.java2
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);