summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-04-11 17:56:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-12 08:23:54 +0200
commit4c288a18e7052de2a42d25ca04c0cda7badf9f95 (patch)
tree8878c48378e938bcafcc46d48c0244c8d0bc894f /cppuhelper
parentf69614d8115e9d62752f1c59c0fdcd697a9ded2c (diff)
fix o3tl::equalsAsciiL
after I got it wrong in both the original commit commit d15a6560bd445cd1931e9fded6ad8ecfdd54211b use more string_view and in the attempted fix commit dd41ea3ec1f579fabb9f674184b52c1be77e2fdb fix for o3tl::equalsAscii thanks to sberg for spotting that Change-Id: Iff12879de823553b2623db48979e9a720302f2d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150240 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index b49c5eebfc15..b270c62c5cb4 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -57,7 +57,7 @@ css::uno::Environment cppuhelper::detail::getEnvironment(
for (sal_Int32 i = 0; i != -1;) {
std::string_view imp(o3tl::getToken(imps, 0, ';', i));
//TODO: this assumes UNO_ENV_LOG only contains ASCII characters:
- if (o3tl::equalsAsciiL(implementation, imp))
+ if (o3tl::equalsAscii(implementation, imp))
{
n += ":log";
break;