Tag: cws_src680_oj14 User: oj Date: 2007-06-04 19:01:03+0000 Log: RESYNC: (1.110-1.111); FILE MERGED
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.99.4.6&r2=1.99.4.7 Delta lines: +6 -4 ------------------- --- TableController.cxx 2007-02-20 15:52:07+0000 1.99.4.6 +++ TableController.cxx 2007-06-04 19:00:59+0000 1.99.4.7 @@ -1252,10 +1252,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]
