Tag: cws_dev300_dba31c User: fs Date: 2008-09-12 18:59:54+0000 Modified: dba/dbaccess/source/ui/browser/unodatbr.cxx
Log: test cases for #i93737#: 'connect' methods now taking an (optional) SQLExceptionInfo, to be able to propagate the error to the calller, instead of displaying it to the user File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: unodatbr.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/unodatbr.cxx?r1=1.203.24.2&r2=1.203.24.3 Delta lines: +4 -4 ------------------- --- unodatbr.cxx 2008-09-06 20:34:08+0000 1.203.24.2 +++ unodatbr.cxx 2008-09-12 18:59:51+0000 1.203.24.3 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unodatbr.cxx,v $ - * $Revision: 1.203.24.2 $ + * $Revision: 1.203.24.3 $ * * This file is part of OpenOffice.org. * @@ -3222,7 +3222,7 @@ // connect _rConnection.reset( - connect( getDataSourceAcessor( _pDSEntry ), sConnectingContext, sal_True ), + connect( getDataSourceAcessor( _pDSEntry ), sConnectingContext, NULL ), SharedConnection::TakeOwnership ); @@ -3322,8 +3322,8 @@ if (pTopLevelSelected) sInitialSelection = getDataSourceAcessor( pTopLevelSelected ); - Reference< XModel > xDocumentModel( - getDataSourceOrModel(getDataSourceByName_displayError( sInitialSelection, getView(), getORB(), true )),UNO_QUERY); + Reference< XDataSource > xDataSource( getDataSourceByName( sInitialSelection, getView(), getORB(), NULL ) ); + Reference< XModel > xDocumentModel( getDataSourceOrModel( xDataSource ), UNO_QUERY ); if ( xDocumentModel.is() ) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
