diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 10:31:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 13:55:30 +0200 |
commit | 65e4a776e8315fd61fd67ad00d28985b11f0b79e (patch) | |
tree | 1ab7a2947d47807086e0477a8d3ad35c2e75dd48 /connectivity/source/drivers/dbase/DIndex.cxx | |
parent | a7b7614c7cab42cd0839752635db81e25e1e50a1 (diff) |
simplify some OUString::copy calls
Change-Id: Ifa228ca02ea79a1309e1875414028aade7e5f12d
Reviewed-on: https://gerrit.libreoffice.org/39801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/dbase/DIndex.cxx')
-rw-r--r-- | connectivity/source/drivers/dbase/DIndex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index 532174820dbb..4063c79576bb 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -463,7 +463,7 @@ bool ODbaseIndex::DropImpl() { // References the Key to an Index-file? aKeyName = aInfFile.GetKeyName( nKey ); - if (aKeyName.copy(0,3) == "NDX") + if (aKeyName.startsWith("NDX")) { if(sEntry == OStringToOUString(aInfFile.ReadKey(aKeyName),m_pTable->getConnection()->getTextEncoding())) { |