summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-05-04 08:58:45 +0000
committerOcke Janssen <oj@openoffice.org>2001-05-04 08:58:45 +0000
commit318764af294ae2ae087cd386261ddde0624d616f (patch)
treec6ff536ec7a0c7e36d506eeed8dae9a8350b91c9 /connectivity/source/sdbcx
parent29427ab66e2b090ab23a67178cbb562235682174 (diff)
#86603# refill columns when they have changed
Diffstat (limited to 'connectivity/source/sdbcx')
-rw-r--r--connectivity/source/sdbcx/VCollection.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx
index 67fd68f0595f..55ce8341dac6 100644
--- a/connectivity/source/sdbcx/VCollection.cxx
+++ b/connectivity/source/sdbcx/VCollection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VCollection.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: oj $ $Date: 2001-05-02 12:52:23 $
+ * last change: $Author: oj $ $Date: 2001-05-04 09:58:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -205,7 +205,7 @@ void SAL_CALL OCollection::refresh( ) throw(RuntimeException)
// -----------------------------------------------------------------------------
void OCollection::reFill(const TStringVector &_rVector)
{
- OSL_ENSURE(m_aNameMap.size(),"OCollection::reFill: collection isn't empty");
+ OSL_ENSURE(!m_aNameMap.size(),"OCollection::reFill: collection isn't empty");
for(TStringVector::const_iterator i=_rVector.begin(); i != _rVector.end();++i)
m_aElements.push_back(m_aNameMap.insert(m_aNameMap.begin(), ObjectMap::value_type(*i,::com::sun::star::uno::WeakReference< ::com::sun::star::container::XNamed >())));
}