diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/dbfindex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/dbfindex.cxx b/dbaccess/source/ui/dlg/dbfindex.cxx index c7c76893157a..644df9427785 100644 --- a/dbaccess/source/ui/dlg/dbfindex.cxx +++ b/dbaccess/source/ui/dlg/dbfindex.cxx @@ -352,7 +352,7 @@ void ODbaseIndexDialog::Init() aNDX = aKeyName.copy(0,3); // yes -> add to the tables index list - if (aNDX.startsWith("NDX")) + if (aNDX.equalsL(RTL_CONSTASCII_STRINGPARAM("NDX"))) { aEntry = OStringToOUString(aInfFile.ReadKey(aKeyName), osl_getThreadTextEncoding()); rTabInfo.aIndexList.push_back( OTableIndex( aEntry ) ); @@ -455,7 +455,7 @@ void OTableInfo::WriteInfFile( const OUString& rDSN ) const aNDX = aKeyName.copy(0,3); //...if yes, delete index file, nKey is at subsequent key - if (aNDX.startsWith("NDX")) + if (aNDX.equalsL(RTL_CONSTASCII_STRINGPARAM("NDX"))) { aInfFile.DeleteKey(aKeyName); nKeyCnt--; |