diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-04-19 10:35:14 +0200 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-04-20 11:57:16 +0200 |
commit | 1bf2d3fa8ed016eaf71d8b3acc3fc779ee32e223 (patch) | |
tree | 77b7e5c30f093ab8392ac0e2099243991cd3d500 /unotest | |
parent | 1c8893876015b667fba5dabbc9d4422896021898 (diff) |
Embind: Drop $equals, add sameUnoObject
$equals was the last remaining special $... method that we added to the UNO
interfaces, and it looks better anyway to turn it into a symmetric free function
(that can be called with null for either argument) that is actually independent
of specific interface types
Change-Id: I22a1d08b8b15a0ed2dd37fa9fbc95f568641dec3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166317
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/embindtest/embindtest.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotest/source/embindtest/embindtest.js b/unotest/source/embindtest/embindtest.js index 784530597392..6d89a728dbdf 100644 --- a/unotest/source/embindtest/embindtest.js +++ b/unotest/source/embindtest/embindtest.js @@ -308,7 +308,7 @@ Module.addOnPostRun(function() { { let v = test.getAnyInterface(); console.log(v); - console.assert(v.get().$equals(test)); + console.assert(Module.sameUnoObject(v.get(), test)); console.assert(test.isAnyInterface(v)); v.delete(); let a = new Module.uno_Any( |