Tag: cws_src680_dba22b User: fs Date: 2006/12/05 01:36:31 Modified: dba/dbaccess/source/ui/misc/UITools.cxx
Log: #i72252# generateAsBeforeTableAlias File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: UITools.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/UITools.cxx?r1=1.66&r2=1.66.40.1 Delta lines: +16 -10 --------------------- --- UITools.cxx 12 Oct 2006 13:40:04 -0000 1.66 +++ UITools.cxx 5 Dec 2006 09:36:29 -0000 1.66.40.1 @@ -4,9 +4,9 @@ * * $RCSfile: UITools.cxx,v $ * - * $Revision: 1.66 $ + * $Revision: 1.66.40.1 $ * - * last change: $Author: obo $ $Date: 2006/10/12 13:40:04 $ + * last change: $Author: fs $ $Date: 2006/12/05 09:36:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1372,12 +1372,18 @@ // check if SQL92 name checking is enabled sal_Bool isSQL92CheckEnabled(const Reference<XConnection>& _xConnection) { - return ::dbtools::isDataSourcePropertyEnabled(_xConnection,PROPERTY_ENABLESQL92CHECK); + return ::dbtools::getBooleanDataSourceSetting( _xConnection, PROPERTY_ENABLESQL92CHECK ); } // ----------------------------------------------------------------------------- sal_Bool isAppendTableAliasEnabled(const Reference<XConnection>& _xConnection) { - return ::dbtools::isDataSourcePropertyEnabled(_xConnection,INFO_APPEND_TABLE_ALIAS,sal_False); + return ::dbtools::getBooleanDataSourceSetting( _xConnection, INFO_APPEND_TABLE_ALIAS ); +} + +// ----------------------------------------------------------------------------- +sal_Bool generateAsBeforeTableAlias(const Reference<XConnection>& _xConnection) +{ + return ::dbtools::getBooleanDataSourceSetting( _xConnection, INFO_AS_BEFORE_CORRELATION_NAME ); } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
