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.gran...@collabora.co.uk>
AuthorDate: Fri Oct 18 14:09:23 2019 +0200
Commit:     Noel Grandin <noel.gran...@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.gran...@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());
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to