Tag: cws_src680_qiq User: fs Date: 06/05/11 03:38:07 Modified: /dba/dbaccess/source/ui/browser/ brwctrlr.cxx
Log: during #i51143#: don't use prependContextInfo if we have only one error string File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: brwctrlr.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/brwctrlr.cxx?r1=1.91&r2=1.91.16.1 Delta lines: +10 -11 --------------------- --- brwctrlr.cxx 31 Mar 2006 12:12:38 -0000 1.91 +++ brwctrlr.cxx 11 May 2006 10:38:04 -0000 1.91.16.1 @@ -4,9 +4,9 @@ * * $RCSfile: brwctrlr.cxx,v $ * - * $Revision: 1.91 $ + * $Revision: 1.91.16.1 $ * - * last change: $Author: vg $ $Date: 2006/03/31 12:12:38 $ + * last change: $Author: fs $ $Date: 2006/05/11 10:38:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -225,15 +225,14 @@ } \ catch(SQLException& e) \ { \ - ::com::sun::star::sdb::SQLContext eExtendedInfo = \ - ::dbtools::prependContextInfo(e, Reference< XInterface > (), context); \ + SQLException aError = ::dbtools::prependErrorInfo(e, *this, context); \ ::com::sun::star::sdb::SQLErrorEvent aEvent; \ - aEvent.Reason <<= eExtendedInfo; \ + aEvent.Reason <<= aError; \ errorOccured(aEvent); \ } \ catch(Exception&) \ { \ - DBG_ERROR(message); \ + DBG_UNHANDLED_EXCEPTION(); \ } \ #define DO_SAFE( action, message ) try { action; } catch(Exception&) { DBG_ERROR(message); } ; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
