summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-07-12 17:08:58 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-07-12 19:36:46 +0200
commita0f3225984f865b9604c420543a5951a21185ba6 (patch)
treeb3e3495d96c933a68a1448a8c747abf4f0085da3 /offapi
parentf74bb604ff043caa552d809bd8e9157ac7854f96 (diff)
Turn org.libreoffice.embindtest.Test from singleton to service
...so that testing its StringAttribute stars out with a known state. And which revealed that the test code in unotest/source/embindtest/embindtest.js was actually wrong in assuming that that UNO attribute would be represented by a JS accessor property, when actually it is represented by a pair of get-/setStringAttribute member functions. Change-Id: I1a6e7c9f26e9a08cd089b7972a23f4c608c6b1bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170414 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/org/libreoffice/embindtest/Test.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/offapi/org/libreoffice/embindtest/Test.idl b/offapi/org/libreoffice/embindtest/Test.idl
index ac7a1ece34f3..ac945e60c5b8 100644
--- a/offapi/org/libreoffice/embindtest/Test.idl
+++ b/offapi/org/libreoffice/embindtest/Test.idl
@@ -9,7 +9,7 @@
module org { module libreoffice { module embindtest {
-singleton Test: XTest;
+service Test: XTest;
}; }; };