LOCRDT editeng: adapt to yrs v0.23.4 API change

Change-Id: I957cdaa770f34c48ca1283f6d0f3b89d66064f8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186902
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
This commit is contained in:
Michael Stahl
2025-06-24 19:06:42 +02:00
parent 57352dce99
commit 88055a2f43
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ First, build yrs C FFI bindings:
``` ```
git clone https://github.com/y-crdt/y-crdt.git git clone https://github.com/y-crdt/y-crdt.git
cd y-crdt cd y-crdt
git checkout v0.23.1 git checkout v0.23.5
cargo build -p yffi cargo build -p yffi
``` ```
+1 -1
View File
@@ -2770,7 +2770,7 @@ bool EditDoc::YrsWriteEECursor(YTransaction *const pTxn, Branch const& rArray,
} }
} }
Weak const*const pWeak{ytext_quote(yw.pText, pTxn, start, end, Y_FALSE, Y_TRUE)}; Weak const*const pWeak{ytext_quote(yw.pText, pTxn, &start, &end, Y_FALSE, Y_TRUE)};
::std::vector<YInput> positions; ::std::vector<YInput> positions;
positions.push_back(yinput_string(m_CommentId.getStr())); positions.push_back(yinput_string(m_CommentId.getStr()));
positions.push_back(yinput_weak(pWeak)); positions.push_back(yinput_weak(pWeak));