User: ihi     
Date: 2007-11-20 19:14:58+0000
Modified:
   dba/connectivity/source/commontools/dbtools.cxx

Log:
 INTEGRATION: CWS reportdesign01 (1.68.42); FILE MERGED
 2007/09/24 13:14:39 lla 1.68.42.1: #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.69
Delta lines:  +5 -1
-------------------
--- dbtools.cxx 2007-07-06 06:47:28+0000        1.68
+++ dbtools.cxx 2007-11-20 19:14:55+0000        1.69
@@ -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]

Reply via email to