summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/ado/ATables.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 15:58:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 15:58:26 +0000
commitf595b66af2215049e4b599880989e64c19c79fad (patch)
treed327c6494ce66c582031ecaa63e453a776d3ee37 /connectivity/source/drivers/ado/ATables.cxx
parent1564571fc4b71afe82e5ed82c108d50c4d837460 (diff)
INTEGRATION: CWS insight01 (1.12.92); FILE MERGED
2004/06/29 12:55:07 oj 1.12.92.2: #i30626# naming corrected 2003/08/15 08:43:04 oj 1.12.92.1: #111075# ongoing new dbaapp work
Diffstat (limited to 'connectivity/source/drivers/ado/ATables.cxx')
-rw-r--r--connectivity/source/drivers/ado/ATables.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/ado/ATables.cxx b/connectivity/source/drivers/ado/ATables.cxx
index 6520b4ff0fbd..2b389ed15599 100644
--- a/connectivity/source/drivers/ado/ATables.cxx
+++ b/connectivity/source/drivers/ado/ATables.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ATables.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: oj $ $Date: 2002-11-29 12:24:20 $
+ * last change: $Author: hr $ $Date: 2004-08-02 16:58:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -122,6 +122,7 @@ void OTables::impl_refresh( ) throw(RuntimeException)
{
OSL_ENSURE(m_aCollection.IsValid(),"Collection isn't valid");
m_aCollection.Refresh();
+ m_pCatalog->refreshTables();
}
// -------------------------------------------------------------------------
Reference< XPropertySet > OTables::createEmptyObject()
@@ -148,7 +149,7 @@ void OTables::appendObject( const Reference< XPropertySet >& descriptor )
void OTables::dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName)
{
OSL_ENSURE(m_aCollection.IsValid(),"Collection isn't valid");
- if(!m_aCollection.Delete(_sElementName))
+ if ( !m_aCollection.Delete(_sElementName) )
ADOS::ThrowException(*m_pCatalog->getConnection()->getConnection(),*this);
}
// -------------------------------------------------------------------------