User: kz Date: 2006/12/13 08:11:44 Modified: dba/connectivity/inc/connectivity/dbtools.hxx
Log: INTEGRATION: CWS dba22ui (1.31.70); FILE MERGED 2006/12/05 09:46:52 fs 1.31.70.1: copying the fix for #i72252# from CWS dba22b to dba22ui - intended for the latter, but wrongly checked in into the former File Changes: Directory: /dba/connectivity/inc/connectivity/ ============================================== File [changed]: dbtools.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/inc/connectivity/dbtools.hxx?r1=1.31&r2=1.32 Delta lines: +12 -8 -------------------- --- dbtools.hxx 10 Jul 2006 14:16:27 -0000 1.31 +++ dbtools.hxx 13 Dec 2006 16:11:42 -0000 1.32 @@ -335,15 +335,19 @@ */ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> findDataSource(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xParent); + /** determines the value of a booolean data source setting, given by ASCII name + + @param _rxConnection + the connection belonging to the data source whose setting is to be retrieved + @param _pAsciiSettingName + the ASCII name of the setting + */ + bool getBooleanDataSourceSetting( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection, const sal_Char* _pAsciiSettingName ); + /** check if a specific property is enabled in the info sequence - @param _xProp - The datasource or a child of it. - @param _sProperty - The property to search in the info property of the data source. - @param _bDefault - This value will be returned, if the property doesn't exist in the data source. - @return - <TRUE/> if so otherwise <FALSE/> + @deprecated + Use getBooleanDataSourceSetting instead, which cares for the default of the property itself, + instead of spreading this knowledge through all callers. */ sal_Bool isDataSourcePropertyEnabled(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& _xProp ,const ::rtl::OUString& _sProperty, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]