diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-08-31 08:30:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-08-31 09:24:45 +0200 |
commit | 5fca6fefc9cb47737663fbcd04660d2c5bcfde93 (patch) | |
tree | 8f9846124d45b4c90348097afae364da318f8112 /include/rtl | |
parent | 9d007e6bdc0e1346e2e0d633379ce1f09c4e3b53 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'include/rtl')
-rw-r--r-- | include/rtl/string.hxx | 2 | ||||
-rw-r--r-- | include/rtl/ustring.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 |