Tag: cws_src680_dba30 User: oj Date: 06/01/02 01:17:24 Modified: /dba/dbaccess/source/core/api/ KeySet.cxx, RowSet.cxx, RowSetCache.cxx, SingleSelectQueryComposer.cxx, TableDeco.cxx, table.cxx /dba/dbaccess/source/core/dataaccess/ connection.cxx /dba/dbaccess/source/ui/control/ tabletree.cxx /dba/dbaccess/source/ui/dlg/ indexdialog.cxx /dba/dbaccess/source/ui/misc/ DExport.cxx, WColumnSelect.cxx, WCopyTable.cxx, WTypeSelect.cxx /dba/dbaccess/source/ui/querydesign/ QTableWindow.cxx, QueryDesignView.cxx, SelectionBrowseBox.cxx, TableWindowListBox.cxx /dba/dbaccess/source/ui/relationdesign/ RelationController.cxx /dba/dbaccess/source/ui/tabledesign/ TEditControl.cxx, TableController.cxx
Log: #i44200# use supportsMixedCaseQuotedIdentifiers where storesMixedCaseQuotedIdentifiers was used File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: KeySet.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/KeySet.cxx?r1=1.59.16.1&r2=1.59.16.2 Delta lines: +3 -3 ------------------- --- KeySet.cxx 30 Dec 2005 07:56:53 -0000 1.59.16.1 +++ KeySet.cxx 2 Jan 2006 09:17:06 -0000 1.59.16.2 @@ -4,9 +4,9 @@ * * $RCSfile: KeySet.cxx,v $ * - * $Revision: 1.59.16.1 $ + * $Revision: 1.59.16.2 $ * - * last change: $Author: oj $ $Date: 2005/12/30 07:56:53 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -190,7 +190,7 @@ OCacheSet::construct(_xDriverSet); Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData(); - bool bCase = (xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers()) ? true : false; + bool bCase = (xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers()) ? true : false; m_pKeyColumnNames = new OColumnNamePos(bCase); m_pColumnNames = new OColumnNamePos(bCase); m_pForeignColumnNames = new OColumnNamePos(bCase); File [changed]: RowSet.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSet.cxx?r1=1.133.12.5&r2=1.133.12.6 Delta lines: +3 -3 ------------------- --- RowSet.cxx 22 Dec 2005 12:50:11 -0000 1.133.12.5 +++ RowSet.cxx 2 Jan 2006 09:17:06 -0000 1.133.12.6 @@ -4,9 +4,9 @@ * * $RCSfile: RowSet.cxx,v $ * - * $Revision: 1.133.12.5 $ + * $Revision: 1.133.12.6 $ * - * last change: $Author: fs $ $Date: 2005/12/22 12:50:11 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2123,7 +2123,7 @@ try { Reference<XDatabaseMetaData> xMeta = m_xActiveConnection->getMetaData(); - bCase = xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers(); + bCase = xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers(); } catch(SQLException&) { File [changed]: RowSetCache.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSetCache.cxx?r1=1.78.16.1&r2=1.78.16.2 Delta lines: +4 -4 ------------------- --- RowSetCache.cxx 30 Dec 2005 06:20:20 -0000 1.78.16.1 +++ RowSetCache.cxx 2 Jan 2006 09:17:07 -0000 1.78.16.2 @@ -4,9 +4,9 @@ * * $RCSfile: RowSetCache.cxx,v $ * - * $Revision: 1.78.16.1 $ + * $Revision: 1.78.16.2 $ * - * last change: $Author: oj $ $Date: 2005/12/30 06:20:20 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:07 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -229,7 +229,7 @@ Reference<XNameAccess> xSelColumns = xColSup->getColumns(); Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); - OColumnNamePos aColumnNames(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers() ? true : false); + OColumnNamePos aColumnNames(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers() ? true : false); ::dbaccess::getColumnPositions(xSelColumns,xColumns,aUpdateTableName,aColumnNames); bAllKeysFound = !aColumnNames.empty() && sal_Int32(aColumnNames.size()) == xColumns->getElementNames().getLength(); } @@ -296,7 +296,7 @@ else { Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); - OColumnNamePos aColumnNames(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers() ? true : false); + OColumnNamePos aColumnNames(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers() ? true : false); Reference<XColumnsSupplier> xColSup(_xAnalyzer,UNO_QUERY); Reference<XNameAccess> xSelColumns = xColSup->getColumns(); Reference<XNameAccess> xColumns = m_aUpdateTable->getColumns(); File [changed]: SingleSelectQueryComposer.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/SingleSelectQueryComposer.cxx?r1=1.10.2.3&r2=1.10.2.4 Delta lines: +10 -10 --------------------- --- SingleSelectQueryComposer.cxx 30 Sep 2005 06:02:14 -0000 1.10.2.3 +++ SingleSelectQueryComposer.cxx 2 Jan 2006 09:17:07 -0000 1.10.2.4 @@ -4,9 +4,9 @@ * * $RCSfile: SingleSelectQueryComposer.cxx,v $ * - * $Revision: 1.10.2.3 $ + * $Revision: 1.10.2.4 $ * - * last change: $Author: fs $ $Date: 2005/09/30 06:02:14 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:07 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -717,7 +717,7 @@ for(OSQLTables::const_iterator aIter = aTables.begin(); aIter != aTables.end();++aIter) aNames.push_back(aIter->first); - m_pTables = new OPrivateTables(aTables,m_xMetaData->storesMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames); + m_pTables = new OPrivateTables(aTables,m_xMetaData->supportsMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames); } return m_pTables; @@ -750,8 +750,8 @@ Reference<XResultSetMetaData> xMeta = xResMetaDataSup->getMetaData(); sal_Int32 nCount = xMeta.is() ? xMeta->getColumnCount() : sal_Int32(0); - ::comphelper::UStringMixEqual bCase(m_xMetaData->storesMixedCaseQuotedIdentifiers()); - ::comphelper::TStringMixEqualFunctor bCase2(m_xMetaData->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(m_xMetaData->supportsMixedCaseQuotedIdentifiers()); + ::comphelper::TStringMixEqualFunctor bCase2(m_xMetaData->supportsMixedCaseQuotedIdentifiers()); ::std::map<OSQLColumns::const_iterator,int> aColumnMap; for(sal_Int32 i=1;i<=nCount;++i) @@ -791,7 +791,7 @@ Reference<XPropertySet> xProp(*aFind2,UNO_QUERY); if(xProp.is() && xProp->getPropertySetInfo()->hasPropertyByName(PROPERTY_REALNAME)) { - ::connectivity::parse::OParseColumn* pColumn = new ::connectivity::parse::OParseColumn(xProp,m_xMetaData->storesMixedCaseQuotedIdentifiers()); + ::connectivity::parse::OParseColumn* pColumn = new ::connectivity::parse::OParseColumn(xProp,m_xMetaData->supportsMixedCaseQuotedIdentifiers()); pColumn->setFunction(::comphelper::getBOOL(xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Function"))))); pColumn->setAggregateFunction(::comphelper::getBOOL(xProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AggregateFunction"))))); @@ -830,7 +830,7 @@ aNames.push_back(getString((*aIter)->getPropertyValue(PROPERTY_NAME))); } - m_aCurrentColumns[SelectColumns] = new OPrivateColumns(aCols,m_xMetaData->storesMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames); + m_aCurrentColumns[SelectColumns] = new OPrivateColumns(aCols,m_xMetaData->supportsMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames); } catch(Exception&) { @@ -1233,7 +1233,7 @@ ::std::vector< ::rtl::OUString> aNames; for(OSQLColumns::const_iterator aIter = aCols->begin(); aIter != aCols->end();++aIter) aNames.push_back(getString((*aIter)->getPropertyValue(PROPERTY_NAME))); - m_aCurrentColumns[ParameterColumns] = new OPrivateColumns(aCols,m_xMetaData->storesMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames,sal_True); + m_aCurrentColumns[ParameterColumns] = new OPrivateColumns(aCols,m_xMetaData->supportsMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames,sal_True); } return m_aCurrentColumns[ParameterColumns]; @@ -1283,7 +1283,7 @@ ::std::vector< ::rtl::OUString> aNames; for(OSQLColumns::const_iterator aIter = _rCols->begin(); aIter != _rCols->end();++aIter) aNames.push_back(getString((*aIter)->getPropertyValue(PROPERTY_NAME))); - m_aCurrentColumns[_eType] = new OPrivateColumns(_rCols,m_xMetaData->storesMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames,sal_True); + m_aCurrentColumns[_eType] = new OPrivateColumns(_rCols,m_xMetaData->supportsMixedCaseQuotedIdentifiers(),*this,m_aMutex,aNames,sal_True); } return m_aCurrentColumns[_eType]; File [changed]: TableDeco.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/TableDeco.cxx?r1=1.25&r2=1.25.14.1 Delta lines: +4 -4 ------------------- --- TableDeco.cxx 8 Sep 2005 10:04:30 -0000 1.25 +++ TableDeco.cxx 2 Jan 2006 09:17:08 -0000 1.25.14.1 @@ -4,9 +4,9 @@ * * $RCSfile: TableDeco.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.25.14.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 10:04:30 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -652,7 +652,7 @@ } if(!m_pColumns) { - OColumns* pCol = new OColumns(*this,m_aMutex,xNames,m_xMetaData.is() && m_xMetaData->storesMixedCaseQuotedIdentifiers(),aVector, + OColumns* pCol = new OColumns(*this,m_aMutex,xNames,m_xMetaData.is() && m_xMetaData->supportsMixedCaseQuotedIdentifiers(),aVector, this,this, m_xMetaData.is() && m_xMetaData->supportsAlterTableWithAddColumn(), m_xMetaData.is() && m_xMetaData->supportsAlterTableWithDropColumn()); File [changed]: table.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/table.cxx?r1=1.54&r2=1.54.14.1 Delta lines: +5 -5 ------------------- --- table.cxx 8 Sep 2005 10:12:13 -0000 1.54 +++ table.cxx 2 Jan 2006 09:17:09 -0000 1.54.14.1 @@ -4,9 +4,9 @@ * * $RCSfile: table.cxx,v $ * - * $Revision: 1.54 $ + * $Revision: 1.54.14.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 10:12:13 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -138,7 +138,7 @@ ,const ::rtl::OUString& _rType ,const ::rtl::OUString& _rDesc ,const Reference< XNameAccess >& _xColumnDefinitions) throw(SQLException) - :OTable_Base(_pTables,_rxConn,_rxConn->getMetaData().is() && _rxConn->getMetaData()->storesMixedCaseQuotedIdentifiers(), _rName, _rType, _rDesc, _rSchema, _rCatalog ) + :OTable_Base(_pTables,_rxConn,_rxConn->getMetaData().is() && _rxConn->getMetaData()->supportsMixedCaseQuotedIdentifiers(), _rName, _rType, _rDesc, _rSchema, _rCatalog ) ,m_nPrivileges(0) ,m_xColumnDefinitions(_xColumnDefinitions) { @@ -154,7 +154,7 @@ ODBTable::ODBTable(connectivity::sdbcx::OCollection* _pTables ,const Reference< XConnection >& _rxConn) throw(SQLException) - :OTable_Base(_pTables,_rxConn, _rxConn->getMetaData().is() && _rxConn->getMetaData()->storesMixedCaseQuotedIdentifiers()) + :OTable_Base(_pTables,_rxConn, _rxConn->getMetaData().is() && _rxConn->getMetaData()->supportsMixedCaseQuotedIdentifiers()) ,m_nPrivileges(-1) { } 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.45&r2=1.45.12.1 Delta lines: +4 -4 ------------------- --- connection.cxx 24 Oct 2005 08:28:24 -0000 1.45 +++ connection.cxx 2 Jan 2006 09:17:09 -0000 1.45.12.1 @@ -4,9 +4,9 @@ * * $RCSfile: connection.cxx,v $ * - * $Revision: 1.45 $ + * $Revision: 1.45.12.1 $ * - * last change: $Author: rt $ $Date: 2005/10/24 08:28:24 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -375,7 +375,7 @@ try { xMeta = getMetaData(); - bCase = xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers(); + bCase = xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers(); } catch(SQLException&) { Directory: /dba/dbaccess/source/ui/control/ =========================================== File [changed]: tabletree.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/control/tabletree.cxx?r1=1.28&r2=1.28.4.1 Delta lines: +4 -4 ------------------- --- tabletree.cxx 5 Oct 2005 14:45:38 -0000 1.28 +++ tabletree.cxx 2 Jan 2006 09:17:10 -0000 1.28.4.1 @@ -4,9 +4,9 @@ * * $RCSfile: tabletree.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.28.4.1 $ * - * last change: $Author: kz $ $Date: 2005/10/05 14:45:38 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -240,7 +240,7 @@ const ::rtl::OUString* pEnd = _rTables.getConstArray() + _rTables.getLength(); try { - ::std::transform(pIter,pEnd,aTables.begin(),OViewSetter(_rViews,_rxConnMetaData.is() ? _rxConnMetaData->storesMixedCaseQuotedIdentifiers() : sal_False)); + ::std::transform(pIter,pEnd,aTables.begin(),OViewSetter(_rViews,_rxConnMetaData.is() ? _rxConnMetaData->supportsMixedCaseQuotedIdentifiers() : sal_False)); } catch(Exception&) { Directory: /dba/dbaccess/source/ui/dlg/ ======================================= File [changed]: indexdialog.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/indexdialog.cxx?r1=1.23&r2=1.23.4.1 Delta lines: +4 -4 ------------------- --- indexdialog.cxx 5 Oct 2005 14:46:33 -0000 1.23 +++ indexdialog.cxx 2 Jan 2006 09:17:11 -0000 1.23.4.1 @@ -4,9 +4,9 @@ * * $RCSfile: indexdialog.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.23.4.1 $ * - * last change: $Author: kz $ $Date: 2005/10/05 14:46:33 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -145,7 +145,7 @@ { ::rtl::OUString sNewName(_rNewText); ::rtl::OUString sAlias = ::dbtools::convertName2SQLName(sNewName,xMeta->getExtraNameCharacters()); - if ( ( xMeta->storesMixedCaseQuotedIdentifiers() ) + if ( ( xMeta->supportsMixedCaseQuotedIdentifiers() ) ? sAlias != sNewName : Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: DExport.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/DExport.cxx?r1=1.26&r2=1.26.16.1 Delta lines: +4 -4 ------------------- --- DExport.cxx 23 Sep 2005 12:36:23 -0000 1.26 +++ DExport.cxx 2 Jan 2006 09:17:12 -0000 1.26.16.1 @@ -4,9 +4,9 @@ * * $RCSfile: DExport.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.26.16.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 12:36:23 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -233,7 +233,7 @@ ,m_bHead(TRUE) ,m_bDontAskAgain(sal_False) ,m_bIsAutoIncrement(sal_False) - ,m_aDestColumns(_rxConnection->getMetaData().is() && _rxConnection->getMetaData()->storesMixedCaseQuotedIdentifiers() == sal_True) + ,m_aDestColumns(_rxConnection->getMetaData().is() && _rxConnection->getMetaData()->supportsMixedCaseQuotedIdentifiers() == sal_True) ,m_xFactory(_rM) ,m_pTypeInfo() ,m_bFoundTable(sal_False) File [changed]: WColumnSelect.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/WColumnSelect.cxx?r1=1.16&r2=1.16.14.1 Delta lines: +5 -5 ------------------- --- WColumnSelect.cxx 8 Sep 2005 16:09:40 -0000 1.16 +++ WColumnSelect.cxx 2 Jan 2006 09:17:12 -0000 1.16.14.1 @@ -4,9 +4,9 @@ * * $RCSfile: WColumnSelect.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.16.14.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 16:09:40 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -244,7 +244,7 @@ ::rtl::OUString sExtraChars = xMetaData->getExtraNameCharacters(); sal_Int32 nMaxNameLen = m_pParent->getMaxColumnNameLength(); - ::comphelper::TStringMixEqualFunctor aCase(xMetaData->storesMixedCaseQuotedIdentifiers()); + ::comphelper::TStringMixEqualFunctor aCase(xMetaData->supportsMixedCaseQuotedIdentifiers()); ::std::vector< ::rtl::OUString> aRightColumns; fillColumns(pRight,aRightColumns); @@ -294,7 +294,7 @@ ::rtl::OUString sExtraChars = xMetaData->getExtraNameCharacters(); sal_Int32 nMaxNameLen = m_pParent->getMaxColumnNameLength(); - ::comphelper::TStringMixEqualFunctor aCase(xMetaData->storesMixedCaseQuotedIdentifiers()); + ::comphelper::TStringMixEqualFunctor aCase(xMetaData->supportsMixedCaseQuotedIdentifiers()); ::std::vector< ::rtl::OUString> aRightColumns; fillColumns(pRight,aRightColumns); File [changed]: WCopyTable.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/WCopyTable.cxx?r1=1.41.16.1&r2=1.41.16.2 Delta lines: +4 -4 ------------------- --- WCopyTable.cxx 12 Dec 2005 08:03:14 -0000 1.41.16.1 +++ WCopyTable.cxx 2 Jan 2006 09:17:13 -0000 1.41.16.2 @@ -4,9 +4,9 @@ * * $RCSfile: WCopyTable.cxx,v $ * - * $Revision: 1.41.16.1 $ + * $Revision: 1.41.16.2 $ * - * last change: $Author: oj $ $Date: 2005/12/12 08:03:14 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -157,7 +157,7 @@ ,m_xSourceObject(_xSourceObject) ,m_bCreatePrimaryColumn(sal_False) ,m_eCreateStyle(WIZARD_DEF_DATA) - ,m_mNameMapping(_xConnection->getMetaData().is() && _xConnection->getMetaData()->storesMixedCaseQuotedIdentifiers()) + ,m_mNameMapping(_xConnection->getMetaData().is() && _xConnection->getMetaData()->supportsMixedCaseQuotedIdentifiers()) ,m_xFormatter(_xFormatter) ,m_sTypeNames(ModuleRes(STR_TABLEDESIGN_DBFIELDTYPES)) ,m_xFactory(_rM) @@ -204,7 +204,7 @@ ,m_xConnection(_xConnection) ,m_bCreatePrimaryColumn(sal_False) ,m_eCreateStyle(WIZARD_DEF_DATA) - ,m_mNameMapping(_xConnection->getMetaData().is() && _xConnection->getMetaData()->storesMixedCaseQuotedIdentifiers()) + ,m_mNameMapping(_xConnection->getMetaData().is() && _xConnection->getMetaData()->supportsMixedCaseQuotedIdentifiers()) ,m_vSourceColumns(_rSourceColumns) ,m_xFormatter(_xFormatter) ,m_sTypeNames(ModuleRes(STR_TABLEDESIGN_DBFIELDTYPES)) File [changed]: WTypeSelect.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/WTypeSelect.cxx?r1=1.22&r2=1.22.16.1 Delta lines: +4 -4 ------------------- --- WTypeSelect.cxx 23 Sep 2005 12:39:11 -0000 1.22 +++ WTypeSelect.cxx 2 Jan 2006 09:17:14 -0000 1.22.16.1 @@ -4,9 +4,9 @@ * * $RCSfile: WTypeSelect.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.22.16.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 12:39:11 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -159,7 +159,7 @@ // first we have to check if this name already exists sal_Bool bDoubleName = sal_False; sal_Bool bCase = sal_True; - if ( getMetaData().is() && !getMetaData()->storesMixedCaseQuotedIdentifiers() ) + if ( getMetaData().is() && !getMetaData()->supportsMixedCaseQuotedIdentifiers() ) { bCase = sal_False; USHORT nCount = aListBox.GetEntryCount(); Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: QTableWindow.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QTableWindow.cxx?r1=1.15&r2=1.15.12.1 Delta lines: +4 -4 ------------------- --- QTableWindow.cxx 8 Sep 2005 16:22:09 -0000 1.15 +++ QTableWindow.cxx 2 Jan 2006 09:17:14 -0000 1.15.12.1 @@ -4,9 +4,9 @@ * * $RCSfile: QTableWindow.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.15.12.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 16:22:09 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -256,7 +256,7 @@ try { Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); - ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers()); while (pEntry) { File [changed]: QueryDesignView.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QueryDesignView.cxx?r1=1.76&r2=1.76.16.1 Delta lines: +6 -6 ------------------- --- QueryDesignView.cxx 23 Sep 2005 12:43:07 -0000 1.76 +++ QueryDesignView.cxx 2 Jan 2006 09:17:15 -0000 1.76.16.1 @@ -4,9 +4,9 @@ * * $RCSfile: QueryDesignView.cxx,v $ * - * $Revision: 1.76 $ + * $Revision: 1.76.16.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 12:43:07 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -311,7 +311,7 @@ { if(xMetaData.is()) { - ::comphelper::UStringMixEqual bCase(xMetaData->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(xMetaData->supportsMixedCaseQuotedIdentifiers()); if (bCase(rValue, String(ModuleRes(STR_QUERY_TRUE)))) rNewValue = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TRUE")); else if (bCase(rValue, String(ModuleRes(STR_QUERY_FALSE)))) @@ -367,7 +367,7 @@ try { Reference<XDatabaseMetaData> xMeta = _pView->getController()->getConnection()->getMetaData(); - if ( xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers() ) + if ( xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers() ) _pView->getController()->appendError(SQLException(String(ModuleRes(STR_QRY_CHECK_CASESENSITIVE)),NULL,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HY0000") ),1000,Any())); } catch(Exception&) @@ -2931,7 +2931,7 @@ nType, sal_False, sal_False, - xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers()); + xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers()); _rxColumn = pColumn; pColumn->setFunction(sal_True); pColumn->setRealName(pEntry->GetField()); File [changed]: SelectionBrowseBox.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx?r1=1.64&r2=1.64.12.1 Delta lines: +8 -8 ------------------- --- SelectionBrowseBox.cxx 24 Oct 2005 08:32:22 -0000 1.64 +++ SelectionBrowseBox.cxx 2 Jan 2006 09:17:16 -0000 1.64.12.1 @@ -4,9 +4,9 @@ * * $RCSfile: SelectionBrowseBox.cxx,v $ * - * $Revision: 1.64 $ + * $Revision: 1.64.12.1 $ * - * last change: $Author: rt $ $Date: 2005/10/24 08:32:22 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -656,7 +656,7 @@ sal_Bool OSelectionBrowseBox::fillColumnRef(const ::rtl::OUString& _sColumnName,const ::rtl::OUString& _sTableRange,const Reference<XDatabaseMetaData>& _xMetaData,OTableFieldDescRef& _pEntry,sal_Bool& _bListAction) { sal_Bool bError = sal_False; - ::comphelper::UStringMixEqual bCase(_xMetaData->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(_xMetaData->supportsMixedCaseQuotedIdentifiers()); // check if the table name is the same if ( _sTableRange.getLength() && (bCase(_pEntry->GetTable(),_sTableRange) || bCase(_pEntry->GetAlias(),_sTableRange)) ) { // a table was already inserted and the tables contains that column name @@ -748,7 +748,7 @@ if ( !xConnection.is() ) return sal_True; Reference<XDatabaseMetaData> xMetaData = xConnection->getMetaData(); - ::comphelper::UStringMixEqual bCase(xMetaData->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(xMetaData->supportsMixedCaseQuotedIdentifiers()); OTableFieldDescRef aSelEntry = _pEntry; USHORT nColumnId = aSelEntry->GetColumnId(); @@ -1774,7 +1774,7 @@ DBG_ASSERT(!rInfo->IsEmpty(),"AddGroupBy:: OTableFieldDescRef sollte nicht Empty sein!"); OTableFieldDescRef pEntry; Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); - ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers()); sal_Bool bAppend = sal_False; OTableFields& rFields = getFields(); @@ -1828,7 +1828,7 @@ OTableFieldDescRef pEntry; Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); - ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers()); OTableFields::iterator aIter = getFields().begin(); for(;aIter != getFields().end();++aIter) @@ -1891,7 +1891,7 @@ DBG_ASSERT(!rInfo->IsEmpty(),"AddOrder:: OTableFieldDescRef sollte nicht Empty sein!"); OTableFieldDescRef pEntry; Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); - ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers()); sal_Bool bAppend = sal_False; OTableFields& rFields = getFields(); File [changed]: TableWindowListBox.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/TableWindowListBox.cxx?r1=1.29&r2=1.29.14.1 Delta lines: +4 -4 ------------------- --- TableWindowListBox.cxx 8 Sep 2005 16:31:39 -0000 1.29 +++ TableWindowListBox.cxx 2 Jan 2006 09:17:17 -0000 1.29.14.1 @@ -4,9 +4,9 @@ * * $RCSfile: TableWindowListBox.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.29.14.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 16:31:39 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:17 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -136,7 +136,7 @@ { Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData(); if(xMeta.is()) - bCase = xMeta->storesMixedCaseQuotedIdentifiers(); + bCase = xMeta->supportsMixedCaseQuotedIdentifiers(); } while( pEntry ) { Directory: /dba/dbaccess/source/ui/relationdesign/ ================================================== File [changed]: RelationController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/relationdesign/RelationController.cxx?r1=1.42&r2=1.42.16.1 Delta lines: +4 -4 ------------------- --- RelationController.cxx 23 Sep 2005 12:45:06 -0000 1.42 +++ RelationController.cxx 2 Jan 2006 09:17:18 -0000 1.42.16.1 @@ -4,9 +4,9 @@ * * $RCSfile: RelationController.cxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.42.16.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 12:45:06 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -547,7 +547,7 @@ sal_Bool ORelationController::existsTable(const ::rtl::OUString& _rComposedTableName) const { Reference<XDatabaseMetaData> xMeta = getConnection()->getMetaData(); - ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->storesMixedCaseQuotedIdentifiers()); + ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers()); ::std::vector<OTableWindowData*>::const_iterator aIter = m_vTableData.begin(); for(;aIter != m_vTableData.end();++aIter) { Directory: /dba/dbaccess/source/ui/tabledesign/ =============================================== File [changed]: TEditControl.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TEditControl.cxx?r1=1.41.6.4&r2=1.41.6.5 Delta lines: +4 -4 ------------------- --- TEditControl.cxx 13 Oct 2005 15:50:14 -0000 1.41.6.4 +++ TEditControl.cxx 2 Jan 2006 09:17:19 -0000 1.41.6.5 @@ -4,9 +4,9 @@ * * $RCSfile: TEditControl.cxx,v $ * - * $Revision: 1.41.6.4 $ + * $Revision: 1.41.6.5 $ * - * last change: $Author: fs $ $Date: 2005/10/13 15:50:14 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:19 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -612,7 +612,7 @@ Reference<XConnection> xCon = GetView()->getController()->getConnection(); Reference< XDatabaseMetaData> xMetaData = xCon.is() ? xCon->getMetaData() : Reference< XDatabaseMetaData>(); - ::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->storesMixedCaseQuotedIdentifiers() : sal_True); + ::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->supportsMixedCaseQuotedIdentifiers() : sal_True); ::std::vector<OTableRow*>::iterator aIter = m_pRowList->begin(); OFieldDescription* pFieldDescr; File [changed]: TableController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/TableController.cxx?r1=1.99.16.2&r2=1.99.16.3 Delta lines: +5 -5 ------------------- --- TableController.cxx 22 Dec 2005 09:19:29 -0000 1.99.16.2 +++ TableController.cxx 2 Jan 2006 09:17:19 -0000 1.99.16.3 @@ -4,9 +4,9 @@ * * $RCSfile: TableController.cxx,v $ * - * $Revision: 1.99.16.2 $ + * $Revision: 1.99.16.3 $ * - * last change: $Author: fs $ $Date: 2005/12/22 09:19:29 $ + * last change: $Author: oj $ $Date: 2006/01/02 09:17:19 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1111,7 +1111,7 @@ sal_Bool bFoundPKey = sal_False; Reference< XDatabaseMetaData> xMetaData = getMetaData( ); - ::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->storesMixedCaseQuotedIdentifiers() : sal_True); + ::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->supportsMixedCaseQuotedIdentifiers() : sal_True); ::std::vector<OTableRow*>::const_iterator aIter = m_vRowList.begin(); for(;aIter != m_vRowList.end();++aIter) { @@ -1199,7 +1199,7 @@ Reference< XDatabaseMetaData> xMetaData = getMetaData( ); - ::std::map< ::rtl::OUString,sal_Bool,::comphelper::UStringMixLess> aColumns(xMetaData.is() ? (xMetaData->storesMixedCaseQuotedIdentifiers() ? true : false): sal_True); + ::std::map< ::rtl::OUString,sal_Bool,::comphelper::UStringMixLess> aColumns(xMetaData.is() ? (xMetaData->supportsMixedCaseQuotedIdentifiers() ? true : false): sal_True); ::std::vector<OTableRow*>::iterator aIter = m_vRowList.begin(); ::std::vector<OTableRow*>::iterator aEnd = m_vRowList.end(); // first look for columns where something other than the name changed @@ -1612,7 +1612,7 @@ ::rtl::OUString sName = _rName; Reference< XDatabaseMetaData> xMetaData = getMetaData( ); - ::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->storesMixedCaseQuotedIdentifiers() : sal_True); + ::comphelper::UStringMixEqual bCase(xMetaData.is() ? xMetaData->supportsMixedCaseQuotedIdentifiers() : sal_True); ::std::vector<OTableRow*>::const_iterator aIter = m_vRowList.begin(); for(sal_Int32 i=0;aIter != m_vRowList.end();++aIter) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
