summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rtl/string.hxx2
-rw-r--r--include/rtl/ustring.hxx2
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