diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 09:26:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 11:54:20 +0200 |
commit | 8ed77fae3e5e9e5f7409e03d5e4586f428a65c86 (patch) | |
tree | e4dea7abf2deced1aeb88eb8b570a75271cb9150 /connectivity/source/commontools/TIndexes.cxx | |
parent | 4d7054947d87174decf12ad204c09532f33599f8 (diff) |
loplugin:oncevar in codemaker..connectivity
Change-Id: Ia479d9d3d459a699dfc5c1148d01c35e8bc973bd
Reviewed-on: https://gerrit.libreoffice.org/39000
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools/TIndexes.cxx')
-rw-r--r-- | connectivity/source/commontools/TIndexes.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TIndexes.cxx b/connectivity/source/commontools/TIndexes.cxx index 0c950b919e24..050364e81462 100644 --- a/connectivity/source/commontools/TIndexes.cxx +++ b/connectivity/source/commontools/TIndexes.cxx @@ -138,7 +138,6 @@ sdbcx::ObjectType OIndexesHelper::appendObject( const OUString& _rForName, const ::dbtools::OPropertyMap& rPropMap = OMetaConnection::getPropMap(); OUStringBuffer aSql( "CREATE " ); OUString aQuote = m_pTable->getMetaData()->getIdentifierQuoteString( ); - OUString aDot( "." ); if(comphelper::getBOOL(descriptor->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_ISUNIQUE)))) aSql.append("UNIQUE "); @@ -192,7 +191,7 @@ sdbcx::ObjectType OIndexesHelper::appendObject( const OUString& _rForName, const xColumns->getByIndex(0) >>= xColProp; - aSql.append(aDot); + aSql.append("."); aSql.append(::dbtools::quoteName( aQuote,comphelper::getString(xColProp->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_NAME))))); } |