summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
Diffstat (limited to 'bridges')
-rw-r--r--bridges/Library_cpp_uno.mk3
-rw-r--r--bridges/source/cpp_uno/gcc3_wasm/except.cxx22
2 files changed, 1 insertions, 24 deletions
diff --git a/bridges/Library_cpp_uno.mk b/bridges/Library_cpp_uno.mk
index 462fd538e104..5d6e7c489802 100644
--- a/bridges/Library_cpp_uno.mk
+++ b/bridges/Library_cpp_uno.mk
@@ -83,8 +83,7 @@ bridge_exception_objects := cpp2uno uno2cpp
bridge_noopt_objects := except
else ifeq ($(OS),EMSCRIPTEN)
bridges_SELECTED_BRIDGE := gcc3_wasm
-bridge_exception_objects := abi
-bridge_noopt_objects := cpp2uno except uno2cpp
+bridge_exception_objects := abi cpp2uno uno2cpp
$(eval $(call gb_Library_add_generated_asmobjects,$(CPPU_ENV)_uno, \
CustomTarget/bridges/gcc3_wasm/callvirtualfunction-impls \
))
diff --git a/bridges/source/cpp_uno/gcc3_wasm/except.cxx b/bridges/source/cpp_uno/gcc3_wasm/except.cxx
deleted file mode 100644
index 36778c65a11a..000000000000
--- a/bridges/source/cpp_uno/gcc3_wasm/except.cxx
+++ /dev/null
@@ -1,22 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#include <cstdlib>
-
-#include <uno/mapping.h>
-#include <uno/any2.h>
-
-namespace CPPU_CURRENT_NAMESPACE
-{
-void raiseException(uno_Any*, uno_Mapping*) { std::abort(); }
-
-void fillUnoException(uno_Any*, uno_Mapping*) { std::abort(); }
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */