User: kz Date: 2007-05-10 10:41:50+0000 Log: INTEGRATION: CWS dba23a (1.110.2); FILE MERGED 2007/03/14 12:16:47 fs 1.110.2.1: #i75261# when asking for re-creation of columns, also show the caught exception
File Changes: Directory: /dba/dbaccess/source/ui/tabledesign/ =============================================== File [changed]: TableController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TableController.cxx?r1=1.110&r2=1.111 Delta lines: +6 -4 ------------------- --- TableController.cxx 2007-01-15 14:37:28+0000 1.110 +++ TableController.cxx 2007-05-10 10:41:47+0000 1.111 @@ -1267,10 +1267,12 @@ { if(xDrop.is() && xAppend.is()) { - String aMessage(ModuleRes(STR_TABLEDESIGN_ALTER_ERROR)); - aMessage.SearchAndReplaceAscii("$column$",pField->GetName()); - String sTitle(ModuleRes(STR_STAT_WARNING)); - OSQLMessageBox aMsg(getView(),sTitle,aMessage,WB_YES_NO|WB_DEF_YES,OSQLMessageBox::Warning); + String aMessage( ModuleRes( STR_TABLEDESIGN_ALTER_ERROR ) ); + aMessage.SearchAndReplaceAscii( "$column$", pField->GetName() ); + String sTitle( ModuleRes( STR_STAT_WARNING ) ); + + SQLExceptionInfo aError( ::cppu::getCaughtException() ); + OSQLMessageBox aMsg( getView(), sTitle, aMessage, WB_YES_NO | WB_DEF_YES , OSQLMessageBox::Warning, &aError ); bNotOk = aMsg.Execute() == RET_YES; } else --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
