connectivity/source/drivers/calc/CTable.cxx | 1 - connectivity/source/drivers/dbase/DIndex.cxx | 2 +- connectivity/source/drivers/file/FStatement.cxx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit b04304dc451eff799331ead72fbe7b0c4b545775 Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Fri Jul 19 11:49:30 2013 +0200 janitorial: remove unused, add const Change-Id: I1c0509d2415130fe654c09424ea1f8ce8e069602 diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index 12e729c..b21a476 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 3dc7229..836e198 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) + commit db91a572fbd290cd82d46295ea57f01cbc031c2b Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Fri Jul 19 11:49:04 2013 +0200 fixup Change-Id: Ie2d4baafd775d1b051148b84d6227548a75837f8 diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx index cb89a38..39a3926 100644 --- a/connectivity/source/drivers/file/FStatement.cxx +++ b/connectivity/source/drivers/file/FStatement.cxx @@ -691,7 +691,7 @@ void OStatement_Base::ParseAssignValues(const ::std::vector< OUString>& aColumnN SAL_INFO( "connectivity.drivers", "file ocke.jans...@sun.com OStatement_Base::ParseAssignValues" ); OSL_ENSURE(nIndex <= aColumnNameList.size(),"SdbFileCursor::ParseAssignValues: nIndex > aColumnNameList.GetTokenCount()"); OUString aColumnName(aColumnNameList[nIndex]); - OSL_ENSURE(aColumnName.Len() > 0,"OResultSet: Column-Name nicht gefunden"); + OSL_ENSURE(aColumnName.getLength() > 0,"OResultSet: Column-Name nicht gefunden"); OSL_ENSURE(pRow_Value_Constructor_Elem != NULL,"OResultSet: pRow_Value_Constructor_Elem darf nicht NULL sein!"); if (pRow_Value_Constructor_Elem->getNodeType() == SQL_NODE_STRING || _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits