User: kz      
Date: 2006/12/13 08:55:05

Modified:
   dba/dbaccess/source/ui/querydesign/querycontroller.cxx

Log:
 INTEGRATION: CWS dba22ui (1.106.12); FILE MERGED
 2006/12/05 09:47:58 fs 1.106.12.1: copying the fix for #i72252# from CWS 
dba22b to dba22ui - intended for the latter, but wrongly checked in into the 
former

File Changes:

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

File [changed]: querycontroller.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/querycontroller.cxx?r1=1.106&r2=1.107
Delta lines:  +2 -3
-------------------
--- querycontroller.cxx 17 Sep 2006 07:26:55 -0000      1.106
+++ querycontroller.cxx 13 Dec 2006 16:55:02 -0000      1.107
@@ -611,7 +611,7 @@
                                                                // change the 
view of the data
                                                                m_bDesign = 
!m_bDesign;
                                 ::rtl::OUString sNewStatement;
-                                                               
pNode->parseNodeToStr( sNewStatement, getMetaData() );
+                                                               
pNode->parseNodeToStr( sNewStatement, getConnection() );
                                 setStatement_fireEvent( sNewStatement );
                                                                
getContainer()->SaveUIConfig();
                                                                
switchDesignModeImpl(this,getContainer(),m_bDesign);
@@ -1442,8 +1442,7 @@
                        ::connectivity::OSQLParseNode* pNode = 
m_aSqlParser.parseTree( aErrorMsg, m_sStatement, m_bDesign );
                        if(pNode)
                        {
-                pNode->parseNodeToStr(  sTranslatedStmt,
-                                        getMetaData());
+                pNode->parseNodeToStr( sTranslatedStmt, getConnection() );
                                delete pNode;
                        }
 




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

Reply via email to