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>2012-06-20 06:37:37 +0200
commit8d39b71f35e088f9e153e2462158ce2962cf3a8a (patch)
treee9f794f672acc6d685d01695775a91140a38c4b6 /wizards
parent9d088154b4d18c559e15b535a43cd86fab8325bb (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);