summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-04-06 07:58:55 +0000
committerFrank Schönheit <fs@openoffice.org>2001-04-06 07:58:55 +0000
commit9a9adb10218fcee6cc87cae6ae4e4953d3eb2aa5 (patch)
tree48f9815a000bea9412a65e16faa7b7dad7d38fa9 /dbaccess/source
parent98f1d80925761bb3efae06b950ea0c6468e5268b (diff)
removed the obsolete columntypeid ctor parameter
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/api/definitioncolumn.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx
index 69a9b0d4c8b1..b6f957ace36f 100644
--- a/dbaccess/source/core/api/definitioncolumn.cxx
+++ b/dbaccess/source/core/api/definitioncolumn.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: definitioncolumn.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jl $ $Date: 2001-03-23 13:18:50 $
+ * last change: $Author: fs $ $Date: 2001-04-06 08:58:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -412,7 +412,7 @@ Sequence< ::rtl::OUString > OTableColumn::getSupportedServiceNames( ) throw (Ru
//= OColumnWrapper
//============================================================
//--------------------------------------------------------------------------
-OColumnWrapper::OColumnWrapper(const Reference< XPropertySet > & rCol, sal_Int32 nColTypeID)
+OColumnWrapper::OColumnWrapper(const Reference< XPropertySet > & rCol)
:m_xAggregate(rCol)
,m_nColTypeID(-1)
{
@@ -428,6 +428,8 @@ OColumnWrapper::OColumnWrapper(const Reference< XPropertySet > & rCol, sal_Int32
m_nColTypeID |= xInfo->hasPropertyByName(PROPERTY_DESCRIPTION) ? HAS_DESCRIPTION : 0;
m_nColTypeID |= xInfo->hasPropertyByName(PROPERTY_DEFAULTVALUE) ? HAS_DEFAULTVALUE : 0;
m_nColTypeID |= xInfo->hasPropertyByName(PROPERTY_ISROWVERSION) ? HAS_ROWVERSION : 0;
+
+ m_xAggregate->getPropertyValue(PROPERTY_NAME) >>= m_sName;
}
}