User: hr      
Date: 2007-09-26 14:38:41+0000
Modified:
   dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx

Log:
 INTEGRATION: CWS dba24a (1.23.54); FILE MERGED
 2007/07/23 11:53:14 fs 1.23.54.1: setSingleAdditiveClause: don't do anything 
if the clause didn't change

File Changes:

Directory: /dba/dbaccess/source/core/api/
=========================================

File [changed]: SingleSelectQueryComposer.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx?r1=1.23&r2=1.24
Delta lines:  +4 -0
-------------------
--- SingleSelectQueryComposer.cxx       2007-01-15 14:30:20+0000        1.23
+++ SingleSelectQueryComposer.cxx       2007-09-26 14:38:38+0000        1.24
@@ -638,6 +638,10 @@
        ::connectivity::checkDisposed(OSubComponent::rBHelper.bDisposed);
        ::osl::MutexGuard aGuard( m_aMutex );
 
+    // if nothing is changed, do nothing
+    if ( getSQLPart( _ePart, m_aAdditiveIterator, sal_False ) == _rClause )
+        return;
+
     // collect the 4 single parts as they're currently set
     ::std::vector< ::rtl::OUString > aClauses;
     aClauses.reserve( (size_t)SQLPartCount );




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

Reply via email to