diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-19 11:49:30 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-19 11:49:40 +0200 |
commit | b04304dc451eff799331ead72fbe7b0c4b545775 (patch) | |
tree | da2094a8bf4ae435df19f0f097e609a4443e0a06 /connectivity | |
parent | db91a572fbd290cd82d46295ea57f01cbc031c2b (diff) |
janitorial: remove unused, add const
Change-Id: I1c0509d2415130fe654c09424ea1f8ce8e069602
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/calc/CTable.cxx | 1 | ||||
-rw-r--r-- | connectivity/source/drivers/dbase/DIndex.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index 12e729c5df13..b21a4765da23 100644 --- a/connectivity/source/drivers/calc/CTable.cxx +++ b/connectivity/source/drivers/calc/CTable.cxx @@ -451,7 +451,6 @@ void OCalcTable::fillColumns() if ( !m_xSheet.is() ) throw SQLException(); - OUString aStrFieldName("Column"); OUString aTypeName; ::comphelper::UStringMixEqual aCase(m_pConnection->getMetaData()->supportsMixedCaseQuotedIdentifiers()); const sal_Bool bStoresMixedCaseQuotedIdentifiers = getConnection()->getMetaData()->supportsMixedCaseQuotedIdentifiers(); diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index 3dc72295951c..836e198b6631 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -375,7 +375,7 @@ OUString ODbaseIndex::getCompletePath() void ODbaseIndex::createINFEntry() { // synchronize inf-file - OUString sEntry = m_Name + ".ndx"; + const OUString sEntry(m_Name + ".ndx"); OUString sCfgFile(m_pTable->getConnection()->getURL() + OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_DELIMITER) + |