diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-03-13 10:32:14 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-03-14 07:57:18 +0200 |
commit | 8578aabbc45ce3601fc0cfca89d8914c2e2632d3 (patch) | |
tree | dfbf267bb369285c482277f04881520e8a0fd5fd /connectivity/source | |
parent | e7ea15aef2ac619c153de57cb2bd97ab8dbadf68 (diff) |
"prefix" and "postfix" are single words
Change-Id: I32824c614d070cd4649e18da4a0b91b03bccfaba
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/commontools/dbtools2.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx index f6077d25f83f..2dd7676dd275 100644 --- a/connectivity/source/commontools/dbtools2.cxx +++ b/connectivity/source/commontools/dbtools2.cxx @@ -88,7 +88,7 @@ OUString createStandardTypePart(const Reference< XPropertySet >& xColProp,const xColProp->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_AUTOINCREMENTCREATION)) >>= sAutoIncrementValue; // look if we have to use precisions sal_Bool bUseLiteral = sal_False; - OUString sPreFix,sPostFix,sCreateParams; + OUString sPrefix,sPostfix,sCreateParams; { Reference<XResultSet> xRes = xMetaData->getTypeInfo(); if(xRes.is()) @@ -98,8 +98,8 @@ OUString createStandardTypePart(const Reference< XPropertySet >& xColProp,const { OUString sTypeName2Cmp = xRow->getString(1); sal_Int32 nType = xRow->getShort(2); - sPreFix = xRow->getString (4); - sPostFix = xRow->getString (5); + sPrefix = xRow->getString (4); + sPostfix = xRow->getString (5); sCreateParams = xRow->getString(6); // first identical type will be used if typename is empty if ( sTypeName.isEmpty() && nType == nDataType ) @@ -157,9 +157,9 @@ OUString createStandardTypePart(const Reference< XPropertySet >& xColProp,const if ( !aDefault.isEmpty() ) { aSql.append(" DEFAULT "); - aSql.append(sPreFix); + aSql.append(sPrefix); aSql.append(aDefault); - aSql.append(sPostFix); + aSql.append(sPostfix); } // if ( aDefault.getLength() ) return aSql.makeStringAndClear(); |