[Libreoffice-commits] core.git: include/rtl
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 18 16:02:46 UTC 2019
include/rtl/strbuf.hxx | 2 +-
include/rtl/ustrbuf.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9c9484f9fb36b8bc21c83e7c66d4c14fdfc1f53f
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Oct 18 14:09:23 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Oct 18 18:01:26 2019 +0200
make the *StringBuffer::operator OStringView methods explicit
Change-Id: Iab56f58889e01192d1e3187bf07d9d75e1ec1c94
Reviewed-on: https://gerrit.libreoffice.org/81041
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/include/rtl/strbuf.hxx b/include/rtl/strbuf.hxx
index ffb67d25c42d..3be06a31e120 100644
--- a/include/rtl/strbuf.hxx
+++ b/include/rtl/strbuf.hxx
@@ -1036,7 +1036,7 @@ public:
}
#if defined LIBO_INTERNAL_ONLY
- operator OStringView() const
+ explicit operator OStringView() const
{
return OStringView(getStr(), getLength());
}
diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx
index 1d73a7fbd843..14e5fc6dda6f 100644
--- a/include/rtl/ustrbuf.hxx
+++ b/include/rtl/ustrbuf.hxx
@@ -1635,7 +1635,7 @@ public:
}
#if defined LIBO_INTERNAL_ONLY
- operator OUStringView() const
+ explicit operator OUStringView() const
{
return OUStringView(getStr(), getLength());
}
More information about the Libreoffice-commits
mailing list