Tag: cws_src680_dba24d User: fs Date: 2007-11-14 10:37:57+0000 Modified: dba/dbaccess/source/ui/uno/copytablewizard.cxx
Log: #i81658# some dtor safety File Changes: Directory: /dba/dbaccess/source/ui/uno/ ======================================= File [changed]: copytablewizard.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/uno/copytablewizard.cxx?r1=1.1.2.6&r2=1.1.2.7 Delta lines: +5 -5 ------------------- --- copytablewizard.cxx 2007-11-14 10:30:25+0000 1.1.2.6 +++ copytablewizard.cxx 2007-11-14 10:37:55+0000 1.1.2.7 @@ -4,9 +4,9 @@ * * $RCSfile: copytablewizard.cxx,v $ * - * $Revision: 1.1.2.6 $ + * $Revision: 1.1.2.7 $ * - * last change: $Author: fs $ $Date: 2007/11/14 10:30:25 $ + * last change: $Author: fs $ $Date: 2007/11/14 10:37:55 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -378,12 +378,12 @@ //------------------------------------------------------------------------- CopyTableWizard::~CopyTableWizard() { - aqcuire(); + acquire(); // protect some members whose dtor might potentially throw - try { m_xSourceConnection.reset(); } + try { m_xSourceConnection.clear(); } catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } - try { m_xDestConnection.reset(); } + try { m_xDestConnection.clear(); } catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } // TODO: shouldn't we have explicit disposal support? If a listener is registered --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
