summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-04 16:02:16 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-04-04 18:14:44 +0200
commit164cb6ac273d34567f19b4e8a0df94efa053703c (patch)
tree48e6cef46a5365f12ff660fb3b185f87aca45d48 /static
parentec5898cb245c68cf116a22b3714408e4a96ee15d (diff)
Drop spurious .delete() calls from example code
...that had been added there accidentally in 27ceca1996809c0f9390d1e9fb95dc7436ef1acf "Rework the Embind mapping of UNO interfaces" Change-Id: I390e4b694e95d665f7bc3d62b0f7ba2c887041bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165796 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'static')
-rw-r--r--static/README.wasm.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/static/README.wasm.md b/static/README.wasm.md
index 1abfd39de6c8..006f1409f907 100644
--- a/static/README.wasm.md
+++ b/static/README.wasm.md
@@ -232,7 +232,6 @@ xSimpleText = new css.text.XSimpleText(xText.$query());
xTextCursor = xSimpleText.createTextCursor();
xTextRange = new css.text.XTextRange(xTextCursor.$query());
xTextRange.setString("string here!");
-xSimpleText.delete(); xTextCursor.delete(); xTextRange.delete();
xModel.delete(); xTextDocument.delete(); xText.delete(); xSimpleText.delete(); xTextCursor.delete(); xTextRange.delete();
```