User: vg Date: 05/03/10 08:50:49 Modified: /dba/dbaccess/source/ui/inc/ UITools.hxx
Log: INTEGRATION: CWS dba24 (1.26.4); FILE MERGED 2005/02/18 12:42:25 oj 1.26.4.1: #i42460# changes for the separation of datasource and database document(model) File Changes: Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: UITools.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/UITools.hxx?r1=1.26&r2=1.27 Delta lines: +8 -2 ------------------- --- UITools.hxx 21 Jan 2005 17:17:28 -0000 1.26 +++ UITools.hxx 10 Mar 2005 16:50:45 -0000 1.27 @@ -236,7 +236,7 @@ @param _bDisplayError determines whether the method should display an error, when it happens, or simply absorb it */ - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource > getDataSourceByName_displayError( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxDBContext, const ::rtl::OUString& _rDataSourceName, @@ -244,6 +244,12 @@ ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > _rxORB, bool _bDisplayError ); + + /** returns either the model when data source is given as parameter, + or returns a data source when a model is given. + @param _xObject Either a data source or a model. + */ + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getDataSourceOrModel(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xObject); /** maps com::sun::star::awt::TextAlign to SvxCellHorJustify @param com::sun::star::awt::TextAlign& _nAlignment --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
