INTEGRATION: CWS odbmacros2 (1.12.44); FILE MERGED

2008/02/04 13:08:56 fs 1.12.44.2: RESYNC: (1.12-1.13); FILE MERGED
2008/01/15 07:18:39 fs 1.12.44.1: #i67987# use a roadmap in this wizard
This commit is contained in:
Kurt Zenker 2008-03-06 17:37:32 +00:00
parent c7c9422ef9
commit f1cd874e2c

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: datasourcehandling.cxx,v $ * $RCSfile: datasourcehandling.cxx,v $
* *
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* last change: $Author: ihi $ $Date: 2008-01-14 14:33:39 $ * last change: $Author: kz $ $Date: 2008-03-06 18:37:32 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -554,6 +554,16 @@ namespace abp
return m_pImpl->sName; return m_pImpl->sName;
} }
//---------------------------------------------------------------------
bool ODataSource::hasTable( const ::rtl::OUString& _rTableName ) const
{
if ( !isConnected() )
return false;
const StringBag& aTables( getTableNames() );
return aTables.find( _rTableName ) != aTables.end();
}
//--------------------------------------------------------------------- //---------------------------------------------------------------------
const StringBag& ODataSource::getTableNames() const SAL_THROW (( )) const StringBag& ODataSource::getTableNames() const SAL_THROW (( ))
{ {