Tag: cws_src680_dba23a User: fs Date: 2007/03/14 05:16:50 Modified: dba/dbaccess/source/ui/tabledesign/TableController.cxx
Log: #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.110.2.1 Delta lines: +9 -7 ------------------- --- TableController.cxx 15 Jan 2007 14:37:28 -0000 1.110 +++ TableController.cxx 14 Mar 2007 12:16:47 -0000 1.110.2.1 @@ -4,9 +4,9 @@ * * $RCSfile: TableController.cxx,v $ * - * $Revision: 1.110 $ + * $Revision: 1.110.2.1 $ * - * last change: $Author: vg $ $Date: 2007/01/15 14:37:28 $ + * last change: $Author: fs $ $Date: 2007/03/14 12:16:47 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -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]
