Tag: cws_src680_dba24a
User: oj      
Date: 2007-08-28 08:34:56+0000
Modified:
   dba/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx

Log:
 #i69428# erase table from field name

File Changes:

Directory: /dba/dbaccess/source/ui/querydesign/
===============================================

File [changed]: SelectionBrowseBox.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx?r1=1.78&r2=1.78.34.1
Delta lines:  +4 -4
-------------------
--- SelectionBrowseBox.cxx      2007-05-10 10:38:56+0000        1.78
+++ SelectionBrowseBox.cxx      2007-08-28 08:34:53+0000        1.78.34.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: SelectionBrowseBox.cxx,v $
  *
- *  $Revision: 1.78 $
+ *  $Revision: 1.78.34.1 $
  *
- *  last change: $Author: kz $ $Date: 2007/05/10 10:38:56 $
+ *  last change: $Author: oj $ $Date: 2007/08/28 08:34:53 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1031,7 +1031,7 @@
                                                { // special case, we have a 
table field so we must cut the table name
                                                        String sTableAlias = 
aFieldName.GetToken(0,'.');
                                                        
pEntry->SetAlias(sTableAlias);
-                                                       String sColumnName = 
aFieldName.GetToken(1,'.');
+                            String sColumnName = 
aFieldName.Copy(sTableAlias.Len()+1,aFieldName.Len() - sTableAlias.Len() -1);
                                                        Reference<XConnection> 
xConnection = pController->getConnection();
                                                        if ( !xConnection.is() )
                                                                return 
sal_False;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to