summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/source/embindmaker/embindmaker.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/static/source/embindmaker/embindmaker.cxx b/static/source/embindmaker/embindmaker.cxx
index a3558e5b4e04..f0f14b7e31aa 100644
--- a/static/source/embindmaker/embindmaker.cxx
+++ b/static/source/embindmaker/embindmaker.cxx
@@ -958,7 +958,12 @@ SAL_IMPLEMENT_MAIN()
<< cppName(ifc)
<< "> const & the_self) { return "
"::com::sun::star::uno::Reference<::com::sun::star::uno::XInterface>(the_"
- "self); })\n";
+ "self); })\n"
+ " .function(\"$equals\", +[](::com::sun::star::uno::Reference<"
+ << cppName(ifc)
+ << "> const & the_self, "
+ "::com::sun::star::uno::Reference<::com::sun::star::uno::XInterface> const & "
+ "the_other) { return the_self == the_other; })\n";
if (bases.size() > 1)
{
std::set<OUString> visitedBases;