summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@oracle.com>2011-01-03 13:56:33 +0100
committerOcke Janssen [oj] <Ocke.Janssen@oracle.com>2011-01-03 13:56:33 +0100
commit3ff6379e53a0f47f56417a41937fe92996980cb8 (patch)
treee937fd742aa4867a3a0648548b8ad5a6a85a0fbc /connectivity/source/drivers/macab
parent00d0b523b7913b534a6f7fef4f2a86e9472d0208 (diff)
dba34c: fix for cast and char compare
Diffstat (limited to 'connectivity/source/drivers/macab')
-rwxr-xr-xconnectivity/source/drivers/macab/MacabRecord.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/macab/MacabRecord.cxx b/connectivity/source/drivers/macab/MacabRecord.cxx
index 35817526ff17..e161ece74522 100755
--- a/connectivity/source/drivers/macab/MacabRecord.cxx
+++ b/connectivity/source/drivers/macab/MacabRecord.cxx
@@ -202,7 +202,7 @@ sal_Int32 MacabRecord::compareFields(const macabfield *_field1, const macabfield
result = CFStringCompare(
(CFStringRef) _field1->value,
(CFStringRef) _field2->value,
- 0); // 0 = no options (like ignore case)
+ kCFCompareLocalized); // Specifies that the comparison should take into account differences related to locale, such as the thousands separator character.
break;
case kABDateProperty: