User: hr      
Date: 06/04/19 06:22:40

Modified:
 /dba/dbaccess/source/ui/misc/
  HtmlReader.cxx

Log:
 INTEGRATION: CWS oj17 (1.22.40); FILE MERGED
 2006/03/09 07:47:15 oj 1.22.40.1: #i62561# use a prepared statement when the 
rowset can not be used for insertion

File Changes:

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

File [changed]: HtmlReader.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/HtmlReader.cxx?r1=1.22&r2=1.23
Delta lines:  +5 -5
-------------------
--- HtmlReader.cxx      19 Jan 2006 15:43:23 -0000      1.22
+++ HtmlReader.cxx      19 Apr 2006 13:22:38 -0000      1.23
@@ -307,11 +307,11 @@
                                }
                                break;
                        case HTML_TABLEROW_ON:
-                               if ( m_xResultSetUpdate.is() )
+                               if ( m_pUpdateHelper.get() )
                                {
                                        try
                                        {
-                                               
m_xResultSetUpdate->moveToInsertRow(); // sonst neue Zeile anh"angen
+                                               
m_pUpdateHelper->moveToInsertRow(); // sonst neue Zeile anh"angen
                                        }
                                        catch(SQLException& e)
                                        // UpdateFehlerbehandlung
@@ -370,7 +370,7 @@
                                }
                                break;
                        case HTML_TABLEROW_OFF:
-                               if ( !m_xResultSetUpdate.is() )
+                               if ( !m_pUpdateHelper.get() )
                                {
                                        m_bError = sal_True;
                                        break;
@@ -379,8 +379,8 @@
                                {
                                        m_nRowCount++;
                                        if (m_bIsAutoIncrement) // if 
bSetAutoIncrement then I have to set the autoincrement
-                                               
m_xRowUpdate->updateInt(1,m_nRowCount);
-                                       m_xResultSetUpdate->insertRow();
+                                               
m_pUpdateHelper->updateInt(1,m_nRowCount);
+                                       m_pUpdateHelper->insertRow();
                                }
                                catch(SQLException& e)
                                
//////////////////////////////////////////////////////////////////////




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

Reply via email to