summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-12 21:57:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-13 10:11:42 +0000
commitda5f9b7c29ee86c4fc235fa1281477161271f7c9 (patch)
treef7d2dd1a08a44586e74f41b6fe0f03d406b745a2
parentc732a811fc2bacad148c326e32f110a203eef608 (diff)
use RTL_CONSTASCII_STRINGPARAM
-rw-r--r--connectivity/source/drivers/dbase/DIndex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx
index c5a0e4c45784..e8e4750db3b3 100644
--- a/connectivity/source/drivers/dbase/DIndex.cxx
+++ b/connectivity/source/drivers/dbase/DIndex.cxx
@@ -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).equalsL(RTL_CONSTASCII_STRINGPARAM("NDX")))
{
if(sEntry == String(rtl::OStringToOUString(aInfFile.ReadKey(aKeyName),m_pTable->getConnection()->getTextEncoding())))
{