Kaydet (Commit) ee62385d authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS mingwport03 (1.29.44); FILE MERGED

2006/11/07 12:31:33 vg 1.29.44.3: RESYNC: (1.29-1.30); FILE MERGED
2006/10/25 12:11:36 vg 1.29.44.2: #i53572# MinGW port
2006/09/07 10:22:04 vg 1.29.44.1: #i53572# MinGW port
üst e7c2ec6f
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: ATable.cxx,v $ * $RCSfile: ATable.cxx,v $
* *
* $Revision: 1.30 $ * $Revision: 1.31 $
* *
* last change: $Author: obo $ $Date: 2006-09-17 02:15:45 $ * last change: $Author: vg $ $Date: 2007-03-26 13:58:13 $
* *
* 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.
...@@ -206,7 +206,7 @@ sal_Int64 OAdoTable::getSomething( const Sequence< sal_Int8 > & rId ) throw (Run ...@@ -206,7 +206,7 @@ sal_Int64 OAdoTable::getSomething( const Sequence< sal_Int8 > & rId ) throw (Run
void SAL_CALL OAdoTable::rename( const ::rtl::OUString& newName ) throw(SQLException, ElementExistException, RuntimeException) void SAL_CALL OAdoTable::rename( const ::rtl::OUString& newName ) throw(SQLException, ElementExistException, RuntimeException)
{ {
::osl::MutexGuard aGuard(m_aMutex); ::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(rBHelper.bDisposed); checkDisposed(OTableDescriptor_BASE_TYPEDEF::rBHelper.bDisposed);
m_aTable.put_Name(newName); m_aTable.put_Name(newName);
ADOS::ThrowException(*(m_pCatalog->getConnection()->getConnection()),*this); ADOS::ThrowException(*(m_pCatalog->getConnection()->getConnection()),*this);
...@@ -223,7 +223,7 @@ Reference< XDatabaseMetaData> OAdoTable::getMetaData() const ...@@ -223,7 +223,7 @@ Reference< XDatabaseMetaData> OAdoTable::getMetaData() const
void SAL_CALL OAdoTable::alterColumnByName( const ::rtl::OUString& colName, const Reference< XPropertySet >& descriptor ) throw(SQLException, NoSuchElementException, RuntimeException) void SAL_CALL OAdoTable::alterColumnByName( const ::rtl::OUString& colName, const Reference< XPropertySet >& descriptor ) throw(SQLException, NoSuchElementException, RuntimeException)
{ {
::osl::MutexGuard aGuard(m_aMutex); ::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(rBHelper.bDisposed); checkDisposed(OTableDescriptor_BASE_TYPEDEF::rBHelper.bDisposed);
sal_Bool bError = sal_True; sal_Bool bError = sal_True;
OAdoColumn* pColumn = NULL; OAdoColumn* pColumn = NULL;
...@@ -243,7 +243,7 @@ void SAL_CALL OAdoTable::alterColumnByName( const ::rtl::OUString& colName, cons ...@@ -243,7 +243,7 @@ void SAL_CALL OAdoTable::alterColumnByName( const ::rtl::OUString& colName, cons
void SAL_CALL OAdoTable::alterColumnByIndex( sal_Int32 index, const Reference< XPropertySet >& descriptor ) throw(SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, RuntimeException) void SAL_CALL OAdoTable::alterColumnByIndex( sal_Int32 index, const Reference< XPropertySet >& descriptor ) throw(SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, RuntimeException)
{ {
::osl::MutexGuard aGuard(m_aMutex); ::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(rBHelper.bDisposed); checkDisposed(OTableDescriptor_BASE_TYPEDEF::rBHelper.bDisposed);
Reference< XPropertySet > xOld; Reference< XPropertySet > xOld;
m_pColumns->getByIndex(index) >>= xOld; m_pColumns->getByIndex(index) >>= xOld;
...@@ -283,14 +283,18 @@ void OAdoTable::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rV ...@@ -283,14 +283,18 @@ void OAdoTable::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rV
OTable_TYPEDEF::setFastPropertyValue_NoBroadcast(nHandle,rValue); OTable_TYPEDEF::setFastPropertyValue_NoBroadcast(nHandle,rValue);
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
void SAL_CALL OAdoTable::acquire() throw(::com::sun::star::uno::RuntimeException) void SAL_CALL OAdoTable::acquire() throw()
{ {
OTable_TYPEDEF::acquire(); OTable_TYPEDEF::acquire();
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
void SAL_CALL OAdoTable::release() throw(::com::sun::star::uno::RuntimeException) void SAL_CALL OAdoTable::release() throw()
{ {
OTable_TYPEDEF::release(); OTable_TYPEDEF::release();
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
::rtl::OUString SAL_CALL OAdoTable::getName() throw(::com::sun::star::uno::RuntimeException)
{
return m_aTable.get_Name();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment