User: kz      
Date: 06/01/03 08:15:22

Modified:
 /dba/dbaccess/source/ui/app/
  AppControllerDnD.cxx

Log:
 INTEGRATION: CWS dba202c (1.13.22); FILE MERGED
 2005/12/05 10:20:06 oj 1.13.22.1: #i52615# system color

File Changes:

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

File [changed]: AppControllerDnD.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppControllerDnD.cxx?r1=1.13&r2=1.14
Delta lines:  +5 -0
-------------------
--- AppControllerDnD.cxx        24 Oct 2005 08:30:33 -0000      1.13
+++ AppControllerDnD.cxx        3 Jan 2006 16:15:19 -0000       1.14
@@ -781,6 +781,10 @@
                                        {
                                                // the concrete query
                                                Reference< XPropertySet > 
xQuery;
+                                               
Reference<XQueryDefinitionsSupplier> 
xSourceQuerySup(getDataSourceByName_displayError( m_xDatabaseContext, 
sDataSourceName, getView(), getORB(), true ),UNO_QUERY);
+                                               if ( xSourceQuerySup.is() )
+                                                       
xQueries.set(xSourceQuerySup->getQueryDefinitions(),UNO_QUERY);
+
                                                if ( xQueries.is() && 
xQueries->hasByName(sCommand) )
                                                {
                                                        
xQuery.set(xQueries->getByName(sCommand),UNO_QUERY);
@@ -796,6 +800,7 @@
                                                                
xQuery->getPropertyValue(PROPERTY_UPDATE_CATALOGNAME) >>= sUpdateCatalogName;
                                                                bSuccess = 
sal_True;
                                                        }
+                                                       xQueries.clear();
                                                }
                                        }
                                        catch(SQLException&) { throw; } // 
caught and handled by the outer catch




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

Reply via email to