include/rtl/string.hxx | 2 +- include/rtl/ustring.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5fca6fefc9cb47737663fbcd04660d2c5bcfde93 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Aug 31 08:30:58 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Aug 31 09:24:45 2020 +0200 Fix typos in comments ...introduced with 2e21240f23ac2191a3535d697a7308b29303c67c "Goodbye O[U]StringView, welcome O[U]String::Concat". Thanks to Mike for spotting them! Change-Id: Ic401c564eac03a34184204f09cb8d0cb6be4e6e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101689 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx index 60485fbdfb96..da75e5eee57c 100644 --- a/include/rtl/string.hxx +++ b/include/rtl/string.hxx @@ -1909,7 +1909,7 @@ public: // concatenation chain, when neither of the first two e1, e2 is one of our rtl string-related // classes (so something like // - // OString s = "a" + (b ? std::string_view("c" : "dd"); + // OString s = "a" + (b ? std::string_view("c") : std::string_view("dd")); // // would not compile): template<typename T> [[nodiscard]] static diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index b99cf758ed8b..6c6e92207242 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -3701,7 +3701,7 @@ public: // concatenation chain, when neither of the first two e1, e2 is one of our rtl string-related // classes (so something like // - // OUString s = "a" + (b ? std::u16string_view(u"c" : u"dd"); + // OUString s = "a" + (b ? std::u16string_view(u"c") : std::u16string_view(u"dd")); // // would not compile): template<typename T> [[nodiscard]] static _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits