[Libreoffice-commits] .: wizards/com

Lionel Elie Mamane lmamane at kemper.freedesktop.org
Mon Jul 16 07:09:39 PDT 2012


 wizards/com/sun/star/wizards/db/SQLQueryComposer.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a201316b839c00fe5f8305150cf2ccba548a2868
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Jul 16 16:09:07 2012 +0200

    reuse computed curFieldName
    
    Change-Id: I4ca9942b3abd343b75336e68bfe669ce5d3a38de

diff --git a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
index c443840..464c6c0 100644
--- a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
+++ b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
@@ -345,7 +345,7 @@ public class SQLQueryComposer
             if ( curCommandName.length() > 0 )
                 return quoteName(curCommandName) + "." + quoteName(curFieldName);
             else
-                return quoteName(CurFieldColumn.getFieldName());
+                return quoteName(curFieldName);
         }
         String curAliasName = curComposedCommandName.getAliasName();
         return quoteName(curAliasName) + "." + quoteName(curFieldName);


More information about the Libreoffice-commits mailing list