summaryrefslogtreecommitdiff
path: root/ure/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-27 10:37:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-27 10:40:41 +0100
commitb61214c91d926ea56f2cae309469da588b3304b1 (patch)
tree9e2c99e3cfac09d4f6f9cb7f39107c916a301445 /ure/source
parentd1f31681623696e99b0bd9e98570cb1ebac518cc (diff)
Remove dynamic exception specifications from !LIBO_INTERNAL_ONLY
...only odk/examples/ remains to be clean up Change-Id: I875a1e8d6750b6b007bd75126b8010273e1f32d5
Diffstat (limited to 'ure/source')
-rw-r--r--ure/source/uretest/cppmain.cc7
-rw-r--r--ure/source/uretest/cppserver.cc4
-rw-r--r--ure/source/uretest/cpptest.cc4
3 files changed, 4 insertions, 11 deletions
diff --git a/ure/source/uretest/cppmain.cc b/ure/source/uretest/cppmain.cc
index ab38ef99b6c7..db1cf308e708 100644
--- a/ure/source/uretest/cppmain.cc
+++ b/ure/source/uretest/cppmain.cc
@@ -84,8 +84,7 @@ public:
context_(context) {}
virtual ::sal_Int32 SAL_CALL run(
- css::uno::Sequence< ::rtl::OUString > const &)
- throw (css::uno::RuntimeException);
+ css::uno::Sequence< ::rtl::OUString > const &);
private:
Service(Service &); // not defined
@@ -100,9 +99,7 @@ private:
css::uno::Reference< css::uno::XComponentContext > context_;
};
-::sal_Int32 Service::run(css::uno::Sequence< ::rtl::OUString > const &)
- throw (css::uno::RuntimeException)
-{
+::sal_Int32 Service::run(css::uno::Sequence< ::rtl::OUString > const &) {
osl_getThreadIdentifier(0); // check for sal
(new salhelper::SimpleReferenceObject)->release(); // check for salhelper
css::uno::getCurrentContext(); // check for cppu
diff --git a/ure/source/uretest/cppserver.cc b/ure/source/uretest/cppserver.cc
index 69b33c3b9f6a..b90e4c057075 100644
--- a/ure/source/uretest/cppserver.cc
+++ b/ure/source/uretest/cppserver.cc
@@ -44,9 +44,7 @@ class Service: public ::cppu::WeakImplHelper1< ::test::types::XServer > {
public:
Service() {}
- virtual ::test::types::Data SAL_CALL getData()
- throw (css::uno::RuntimeException)
- {
+ virtual ::test::types::Data SAL_CALL getData() {
return ::test::types::Data(rtl::OUString("Hello"), 42);
}
diff --git a/ure/source/uretest/cpptest.cc b/ure/source/uretest/cpptest.cc
index d1f112dabd82..c42270e0c381 100644
--- a/ure/source/uretest/cpptest.cc
+++ b/ure/source/uretest/cpptest.cc
@@ -42,9 +42,7 @@ class Service: public cppu::WeakImplHelper1< test::types::XTest > {
public:
Service() {}
- virtual void SAL_CALL throwException()
- throw (test::types::TestException, css::uno::RuntimeException)
- {
+ virtual void SAL_CALL throwException() {
throw test::types::TestException(
rtl::OUString("test"),
static_cast< cppu::OWeakObject * >(this));