Tag: cws_src680_hsqlcsv User: fs Date: 2006/10/19 03:08:18 Modified: dba/connectivity/source/drivers/hsqldb/HConnection.cxx
Log: #i69526# also pass the Connection to the dialog File Changes: Directory: /dba/connectivity/source/drivers/hsqldb/ =================================================== File [changed]: HConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/hsqldb/HConnection.cxx?r1=1.5.66.7&r2=1.5.66.8 Delta lines: +10 -29 --------------------- --- HConnection.cxx 11 Oct 2006 07:39:11 -0000 1.5.66.7 +++ HConnection.cxx 19 Oct 2006 10:08:16 -0000 1.5.66.8 @@ -4,9 +4,9 @@ * * $RCSfile: HConnection.cxx,v $ * - * $Revision: 1.5.66.7 $ + * $Revision: 1.5.66.8 $ * - * last change: $Author: fs $ $Date: 2006/10/11 07:39:11 $ + * last change: $Author: fs $ $Date: 2006/10/19 10:08:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -133,29 +133,6 @@ namespace connectivity { namespace hsqldb { // ============================================================================= - // = FlushListeners - // ============================================================================= - typedef ::comphelper::OListenerContainerBase< XFlushListener, EventObject > FlushListeners_Base; - class FlushListeners : public FlushListeners_Base - { - public: - FlushListeners( ::osl::Mutex& _rMutex ) :FlushListeners_Base( _rMutex ) { } - - protected: - virtual bool implTypedNotify( - const Reference< XFlushListener >& _rxListener, - const EventObject& _rEvent - ) SAL_THROW( ( Exception ) ); - }; - - // ----------------------------------------------------------------------------- - bool FlushListeners::implTypedNotify( const Reference< XFlushListener >& _rxListener, const EventObject& _rEvent ) SAL_THROW( ( Exception ) ) - { - _rxListener->flushed( _rEvent ); - return true; // continue notifying the other listeners, if any - } - - // ============================================================================= // = OHsqlConnection // ============================================================================= // ----------------------------------------------------------------------------- @@ -312,16 +289,20 @@ try { ::comphelper::ComponentContext aContext( m_xORB ); - Sequence< Any > aArguments(3); + Sequence< Any > aArguments(4); aArguments[0] <<= NamedValue( + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Connection" ) ), + makeAny( Reference< XConnection >( *this, UNO_QUERY_THROW ) ) + ); + aArguments[1] <<= NamedValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TableContainer" ) ), makeAny( impl_getTableContainer_throw() ) ); - aArguments[1] <<= NamedValue( + aArguments[2] <<= NamedValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TableName" ) ), makeAny( _rTableName ) ); - aArguments[2] <<= NamedValue( + aArguments[3] <<= NamedValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ParentWindow" ) ), makeAny( _rxDocumentUI->getApplicationMainWindow() ) ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
