[Libreoffice-commits] .: Branch 'libreoffice-3-5' - wizards/com
Fridrich Strba
fridrich at kemper.freedesktop.org
Wed Jun 20 01:15:29 PDT 2012
wizards/com/sun/star/wizards/form/StyleApplier.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ca28a2430e392d7a7fe6f636da446095e55c3676
Author: Lionel Elie Mamane <lionel at mamane.lu>
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 <fridrich.strba at bluewin.ch>
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);
More information about the Libreoffice-commits
mailing list