svx/source/svdraw/svdmrkv.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8a83f97e8a311063853754026b048acbbc947abb Author: Andras Timar <[email protected]> AuthorDate: Tue Jan 6 09:48:23 2026 +0100 Commit: Andras Timar <[email protected]> CommitDate: Wed Jan 7 09:36:54 2026 +0100 Avoid std::stringstream::view() It breaks our toolchain (Oracle Linux 7, GCC 12) error: ‘std::stringstream’ {aka ‘class std::basic_stringstream<char>’} has no member named ‘view’ Change-Id: I31bd47c2eb8fd0ef9aa05e3520e8984b77bf16fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196597 Tested-by: Jenkins Reviewed-by: Andras Timar <[email protected]> diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index 4af1bb8dc7ee..7e151d1e6aca 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -1229,12 +1229,12 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle const & rRect, const S responseJSON.add_child("kinds", nodes); std::stringstream aStream; boost::property_tree::write_json(aStream, responseJSON, /*pretty=*/ false); - handleArrayStr = OString::Concat(", \"handles\":") + aStream.view(); + handleArrayStr = OString::Concat(", \"handles\":") + aStream.str().c_str(); if (bConnectorSelection) { aStream.str(""); boost::property_tree::write_json(aStream, aGluePointsTree, /*pretty=*/ false); - handleArrayStr += OString::Concat(", \"GluePoints\":") + aStream.view(); + handleArrayStr += OString::Concat(", \"GluePoints\":") + aStream.str().c_str(); } }
