[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 7 19:51:03 UTC 2020
connectivity/source/drivers/macab/MacabResultSet.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f603ae00471285bda6ebe23c89f0ac552846ac0d
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Dec 7 17:56:21 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Dec 7 20:50:24 2020 +0100
loplugin:stringview (macOS)
Change-Id: I4d52c1583a47c948eac9712710da4e71953f73cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107357
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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)
More information about the Libreoffice-commits
mailing list