[Libreoffice-commits] .: 2 commits - connectivity/source wizards/com

Lionel Elie Mamane lmamane at kemper.freedesktop.org
Thu Nov 24 10:40:23 PST 2011


 connectivity/source/drivers/postgresql/pq_databasemetadata.cxx |    1 +
 wizards/com/sun/star/wizards/form/StyleApplier.java            |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ef3a19eed2dc3aaddf3d48a204eff934b7002055
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

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);
commit 8d2780d42f6ee67688f176b0e04bc294575550ba
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Wed Nov 23 21:46:48 2011 +0100

    psql-sdbc: TODO note

diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 91eb3df..d2a0684 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -1503,6 +1503,7 @@ static void columnMetaData2DatabaseTypeDescription(
     const OUString& columnNamePattern ) throw (SQLException, RuntimeException)
 {
     // LEM TODO: review in comparison with JDBC driver
+    //           OK, confirmed it does not return consecutive values in ORDINAL_POSITION; needs to be fixed.
     Statics &statics = getStatics();
 
     // continue !


More information about the Libreoffice-commits mailing list