summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab/macabutilities.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/macab/macabutilities.hxx')
-rw-r--r--connectivity/source/drivers/macab/macabutilities.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/macab/macabutilities.hxx b/connectivity/source/drivers/macab/macabutilities.hxx
index a17bda266458..5b151575351d 100644
--- a/connectivity/source/drivers/macab/macabutilities.hxx
+++ b/connectivity/source/drivers/macab/macabutilities.hxx
@@ -102,7 +102,7 @@ namespace connectivity
/* Get the length, and make sure that there is actually a string
* here.
*/
- if(_originalLabel.indexOf("_$!<") == 0)
+ if(_originalLabel.startsWith("_$!<"))
{
return _originalLabel.copy(4,_originalLabel.getLength()-8);
}