Tag: cws_src680_hsqlcsv User: fs Date: 2006/09/18 07:14:58 Modified: dba/dbaccess/source/core/dataaccess/connection.cxx dba/dbaccess/source/core/dataaccess/connection.hxx
Log: #i69526# getTableEditor now taking XDatabaseDocumentUI File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: connection.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/connection.cxx?r1=1.48.18.2&r2=1.48.18.3 Delta lines: +5 -4 ------------------- --- connection.cxx 18 Sep 2006 08:51:07 -0000 1.48.18.2 +++ connection.cxx 18 Sep 2006 14:14:56 -0000 1.48.18.3 @@ -4,9 +4,9 @@ * * $RCSfile: connection.cxx,v $ * - * $Revision: 1.48.18.2 $ + * $Revision: 1.48.18.3 $ * - * last change: $Author: fs $ $Date: 2006/09/18 08:51:07 $ + * last change: $Author: fs $ $Date: 2006/09/18 14:14:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -119,6 +119,7 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; using namespace ::com::sun::star::sdb; +using namespace ::com::sun::star::sdb::application; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdbcx; using namespace ::com::sun::star::beans; @@ -869,13 +870,13 @@ } // ----------------------------------------------------------------------------- -Reference< XInterface > SAL_CALL OConnection::getTableEditor( const ::rtl::OUString& _TableName ) throw (IllegalArgumentException, WrappedTargetException, RuntimeException) +Reference< XInterface > SAL_CALL OConnection::getTableEditor( const Reference< XDatabaseDocumentUI >& _DocumentUI, const ::rtl::OUString& _TableName ) throw (IllegalArgumentException, WrappedTargetException, RuntimeException) { Reference< XInterface > xReturn; // ask our aggregate if ( m_xTableUIProvider.is() ) - xReturn = m_xTableUIProvider->getTableEditor( _TableName ); + xReturn = m_xTableUIProvider->getTableEditor( _DocumentUI, _TableName ); // ask ourself // well, we don't have own functionality here ... File [changed]: connection.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/connection.hxx?r1=1.24.46.2&r2=1.24.46.3 Delta lines: +3 -3 ------------------- --- connection.hxx 18 Sep 2006 08:51:07 -0000 1.24.46.2 +++ connection.hxx 18 Sep 2006 14:14:56 -0000 1.24.46.3 @@ -4,9 +4,9 @@ * * $RCSfile: connection.hxx,v $ * - * $Revision: 1.24.46.2 $ + * $Revision: 1.24.46.3 $ * - * last change: $Author: fs $ $Date: 2006/09/18 08:51:07 $ + * last change: $Author: fs $ $Date: 2006/09/18 14:14:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -250,7 +250,7 @@ // XTableUIProvider virtual ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > SAL_CALL getTableIcon( const ::rtl::OUString& TableName ) throw (::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getTableEditor( const ::rtl::OUString& TableName ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getTableEditor( const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::application::XDatabaseDocumentUI >& DocumentUI, const ::rtl::OUString& TableName ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); // IRefreshListener virtual void refresh(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rToBeRefreshed); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
