User: obo Date: 06/01/16 07:28:56 Modified: /dba/dbaccess/source/ui/misc/ HtmlReader.cxx
Log: INTEGRATION: CWS dba202b (1.20.46); FILE MERGED 2005/12/27 06:13:16 oj 1.20.46.1: #129316# ctach exception 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.20&r2=1.21 Delta lines: +23 -1 -------------------- --- HtmlReader.cxx 23 Sep 2005 12:36:45 -0000 1.20 +++ HtmlReader.cxx 16 Jan 2006 15:28:53 -0000 1.21 @@ -313,7 +313,29 @@ break; case HTML_TABLEROW_ON: if ( m_xResultSetUpdate.is() ) + { + try + { m_xResultSetUpdate->moveToInsertRow(); // sonst neue Zeile anh"angen + } + catch(SQLException& e) + // UpdateFehlerbehandlung + { + if(!m_bDontAskAgain) + { + String aMsg(e.Message); + aMsg += '\n'; + aMsg += String(ModuleRes(STR_QRY_CONTINUE)); + OSQLMessageBox aBox(NULL, String(ModuleRes(STR_STAT_WARNING)), + aMsg, WB_YES_NO | WB_DEF_NO, OSQLMessageBox::Warning); + + if (aBox.Execute() == RET_YES) + m_bDontAskAgain = TRUE; + else + m_bError = TRUE; + } + } + } else m_bError = sal_True; break; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
