summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-21 22:55:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-22 09:07:47 +0000
commit80a11f0d43309f336d9ca4723f06b8e49ac1d7d7 (patch)
tree578b3cf8a2cbfd180e69295aeba9b7eff6e9631f /connectivity
parent1c1961786a519101bbf34c62542542c8a56e0328 (diff)
ByteString->rtl::OString
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index cfabfbff4b0d..40f1469ef827 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -691,7 +691,7 @@ void ODbaseTable::refreshIndexes()
Config aInfFile(aURL.getFSysPath(INetURLObject::FSYS_DETECT));
aInfFile.SetGroup(dBASE_III_GROUP);
sal_uInt16 nKeyCnt = aInfFile.GetKeyCount();
- ByteString aKeyName;
+ rtl::OString aKeyName;
ByteString aIndexName;
for (sal_uInt16 nKey = 0; nKey < nKeyCnt; nKey++)
@@ -699,7 +699,7 @@ void ODbaseTable::refreshIndexes()
// Refences the key an index-file?
aKeyName = aInfFile.GetKeyName( nKey );
//...if yes, add the index list of the table
- if (aKeyName.Copy(0,3) == ByteString("NDX") )
+ if (aKeyName.copy(0,3).equalsL(RTL_CONSTASCII_STRINGPARAM("NDX")))
{
aIndexName = aInfFile.ReadKey(aKeyName);
aURL.setName(String(aIndexName,m_eEncoding));