summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-07 17:56:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-07 20:50:24 +0100
commitf603ae00471285bda6ebe23c89f0ac552846ac0d (patch)
treeaa3f3a2889a929a670b841ee800ca3f5fca5b260 /connectivity
parentdaa0e2629e13883da0cb41c29fccbcff48b930c5 (diff)
loplugin:stringview (macOS)
Change-Id: I4d52c1583a47c948eac9712710da4e71953f73cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107357 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/macab/MacabResultSet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/macab/MacabResultSet.cxx b/connectivity/source/drivers/macab/MacabResultSet.cxx
index 7b0911223d7f..da2d2dafd3ed 100644
--- a/connectivity/source/drivers/macab/MacabResultSet.cxx
+++ b/connectivity/source/drivers/macab/MacabResultSet.cxx
@@ -879,7 +879,7 @@ Any SAL_CALL MacabResultSet::getBookmark()
if (m_nRowPos != -1 && m_nRowPos != nRecords)
{
- macabfield *uidField = m_aMacabRecords->getField(m_nRowPos,OUString("UID"));
+ macabfield *uidField = m_aMacabRecords->getField(m_nRowPos,u"UID");
if(uidField != nullptr)
{
if(uidField->type == kABStringProperty)
@@ -901,7 +901,7 @@ sal_Bool SAL_CALL MacabResultSet::moveToBookmark(const Any& bookmark)
for (sal_Int32 nRow = 0; nRow < nRecords; nRow++)
{
- macabfield *uidField = m_aMacabRecords->getField(m_nRowPos,OUString("UID"));
+ macabfield *uidField = m_aMacabRecords->getField(m_nRowPos,u"UID");
if(uidField != nullptr)
{
if(uidField->type == kABStringProperty)