summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/static/unoembindhelpers/PrimaryBindings.hxx5
-rw-r--r--static/README.wasm.md2
-rw-r--r--static/source/embindmaker/embindmaker.cxx5
-rw-r--r--static/source/unoembindhelpers/PrimaryBindings.cxx2
4 files changed, 1 insertions, 13 deletions
diff --git a/include/static/unoembindhelpers/PrimaryBindings.hxx b/include/static/unoembindhelpers/PrimaryBindings.hxx
index 259c9c2944f8..6acf2803132a 100644
--- a/include/static/unoembindhelpers/PrimaryBindings.hxx
+++ b/include/static/unoembindhelpers/PrimaryBindings.hxx
@@ -41,11 +41,6 @@ namespace detail
void registerUnoType(css::uno::Type const& type, std::type_info const* id);
}
-enum class uno_Reference
-{
- FromAny
-};
-
enum class uno_Sequence
{
FromSize
diff --git a/static/README.wasm.md b/static/README.wasm.md
index 69176bb8acbc..19da4518030c 100644
--- a/static/README.wasm.md
+++ b/static/README.wasm.md
@@ -246,7 +246,7 @@ xEnumAccess = new css.container.XEnumerationAccess(xText);
xParaEnumeration = xEnumAccess.createEnumeration();
while (xParaEnumeration.hasMoreElements()) {
- xParagraph = new css.text.XTextRange(xParaEnumeration.nextElement(), Module.uno_Reference.FromAny);
+ xParagraph = new css.text.XTextRange(xParaEnumeration.nextElement().get());
if (xParagraph.$is()) {
xParaProps = new css.beans.XPropertySet(xParagraph);
let color = new Module.uno_Any(
diff --git a/static/source/embindmaker/embindmaker.cxx b/static/source/embindmaker/embindmaker.cxx
index 6d89f5a5ab10..ea7879ecceb0 100644
--- a/static/source/embindmaker/embindmaker.cxx
+++ b/static/source/embindmaker/embindmaker.cxx
@@ -1088,11 +1088,6 @@ SAL_IMPLEMENT_MAIN()
"XInterface> const & the_object) { return ::com::sun::star::uno::Reference<"
<< cppName(ifc)
<< ">(the_object, ::com::sun::star::uno::UNO_QUERY); })\n"
- " .constructor(+[](::com::sun::star::uno::Any const & the_object, "
- "[[maybe_unused]] ::unoembindhelpers::uno_Reference) { return "
- "::com::sun::star::uno::Reference<"
- << cppName(ifc)
- << ">(the_object, ::com::sun::star::uno::UNO_QUERY); })\n"
" .function(\"$is\", +[](::com::sun::star::uno::Reference<"
<< cppName(ifc)
<< "> const & the_self) { return the_self.is(); })\n"
diff --git a/static/source/unoembindhelpers/PrimaryBindings.cxx b/static/source/unoembindhelpers/PrimaryBindings.cxx
index d74b63ab8402..fee0c3e214d1 100644
--- a/static/source/unoembindhelpers/PrimaryBindings.cxx
+++ b/static/source/unoembindhelpers/PrimaryBindings.cxx
@@ -200,8 +200,6 @@ void registerUnoType(css::uno::Type const& type, std::type_info const* id) { uno
EMSCRIPTEN_BINDINGS(PrimaryBindings)
{
- enum_<unoembindhelpers::uno_Reference>("uno_Reference")
- .value("FromAny", unoembindhelpers::uno_Reference::FromAny);
enum_<unoembindhelpers::uno_Sequence>("uno_Sequence")
.value("FromSize", unoembindhelpers::uno_Sequence::FromSize);