Tag: cws_src680_reportdesign01 User: lla Date: 2007-09-24 13:14:42+0000 Modified: dba/connectivity/source/commontools/dbtools.cxx
Log: #i78099# if user pressed cancelled, throw exception with 'parameterinteractioncancelled' File Changes: Directory: /dba/connectivity/source/commontools/ ================================================ File [changed]: dbtools.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/dbtools.cxx?r1=1.68&r2=1.68.42.1 Delta lines: +8 -4 ------------------- --- dbtools.cxx 2007-07-06 06:47:28+0000 1.68 +++ dbtools.cxx 2007-09-24 13:14:39+0000 1.68.42.1 @@ -4,9 +4,9 @@ * * $RCSfile: dbtools.cxx,v $ * - * $Revision: 1.68 $ + * $Revision: 1.68.42.1 $ * - * last change: $Author: rt $ $Date: 2007/07/06 06:47:28 $ + * last change: $Author: lla $ $Date: 2007/09/24 13:14:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1834,8 +1834,12 @@ _rxHandler->handle(xRequest); if (!pParams->wasSelected()) + { // canceled by the user (i.e. (s)he canceled the dialog) - throw RowSetVetoException(); + RowSetVetoException e; + e.ErrorCode = ParameterInteractionCancelled; + throw e; + } // now transfer the values from the continuation object to the parameter columns Sequence< PropertyValue > aFinalValues = pParams->getValues(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
