diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-05-14 10:42:44 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-05-14 10:42:44 +0000 |
commit | 0abbd65247f1527153ca8692d453bca72052a023 (patch) | |
tree | 872cdbeaef351a83688e06008c128a145ec119cd /connectivity/source/drivers/dbase/DCode.cxx | |
parent | 3111f05ead7ee44b051faeb245e6538a9a796dd2 (diff) |
#86528# lower size need
Diffstat (limited to 'connectivity/source/drivers/dbase/DCode.cxx')
-rw-r--r-- | connectivity/source/drivers/dbase/DCode.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/connectivity/source/drivers/dbase/DCode.cxx b/connectivity/source/drivers/dbase/DCode.cxx index 40e172353668..544c0817990b 100644 --- a/connectivity/source/drivers/dbase/DCode.cxx +++ b/connectivity/source/drivers/dbase/DCode.cxx @@ -2,9 +2,9 @@ * * $RCSfile: DCode.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: oj $ $Date: 2001-05-07 10:46:53 $ + * last change: $Author: oj $ $Date: 2001-05-14 11:39:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,10 +70,6 @@ #ifndef _CONNECTIVITY_DBASE_INDEXITER_HXX_ #include "dbase/DIndexIter.hxx" #endif -#define CONNECTIVITY_PROPERTY_NAME_SPACE dbase -#ifndef _CONNECTIVITY_PROPERTYIDS_HXX_ -#include "propertyids.hxx" -#endif using namespace connectivity::dbase; @@ -92,6 +88,7 @@ OOperandAttr* OFILEAnalyzer::createOperandAttr(sal_Int32 _nPos, { return new OFILEOperandAttr(_nPos,_xCol,_xIndexes); } + //------------------------------------------------------------------ OFILEOperandAttr::OFILEOperandAttr(sal_uInt16 _nPos, const Reference< XPropertySet>& _xColumn, @@ -114,15 +111,15 @@ OFILEOperandAttr::OFILEOperandAttr(sal_uInt16 _nPos, { Reference<XColumnsSupplier> xColsSup(xIndex,UNO_QUERY); Reference<XNameAccess> xNameAccess = xColsSup->getColumns(); - _xColumn->getPropertyValue(PROPERTY_NAME) >>= sName; + _xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME)) >>= sName; if(xNameAccess->hasByName(sName)) { m_xIndex = xIndex; break; } - else if(xColInfo->hasPropertyByName(PROPERTY_REALNAME)) + else if(xColInfo->hasPropertyByName(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_REALNAME))) { - _xColumn->getPropertyValue(PROPERTY_REALNAME) >>= sName; + _xColumn->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_REALNAME)) >>= sName; if(xNameAccess->hasByName(sName)) { m_xIndex = xIndex; |