connectivity/source/drivers/dbase/DIndex.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 84a3f11c7a0cce586c15246079ea807aec38a439 Author: Julien Nabet <serval2...@yahoo.fr> Date: Mon Dec 12 22:00:26 2011 +0100 Remove ByteString diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index 0e22387..c5a0e4c 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -443,7 +443,7 @@ sal_Bool ODbaseIndex::DropImpl() Config aInfFile(sPhysicalPath); aInfFile.SetGroup(dBASE_III_GROUP); sal_uInt16 nKeyCnt = aInfFile.GetKeyCount(); - ByteString aKeyName; + rtl::OString aKeyName; String sEntry = m_Name; sEntry += String::CreateFromAscii(".ndx"); @@ -452,7 +452,7 @@ sal_Bool ODbaseIndex::DropImpl() { // References the Key to an Index-file? aKeyName = aInfFile.GetKeyName( nKey ); - if (aKeyName.Copy(0,3) == "NDX") + if (aKeyName.copy(0,3) == "NDX") { if(sEntry == String(rtl::OStringToOUString(aInfFile.ReadKey(aKeyName),m_pTable->getConnection()->getTextEncoding()))) { _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits