From 91a42a99b70bfb6c14a7f344aa7d38f1307e8286 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Sat, 28 Mar 2015 15:54:29 +0100 Subject: throw RuntimeExceptions to let API user know its a noop Change-Id: I37b12eba2f9cb918d196f8854ae61f5e81cd76e7 --- sw/source/core/unocore/unotbl.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 6767142f41f3..78215daf2df2 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -1156,16 +1156,16 @@ uno::Any SwXCell::getPropertyValue(const OUString& rPropertyName) } void SwXCell::addPropertyChangeListener(const OUString& /*rPropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*xListener*/) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) - { throw RuntimeException("not implemented"); } + { throw uno::RuntimeException("not implemented", static_cast(this)); }; void SwXCell::removePropertyChangeListener(const OUString& /*rPropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*xListener*/) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) - { throw RuntimeException("not implemented"); } + { throw uno::RuntimeException("not implemented", static_cast(this)); }; void SwXCell::addVetoableChangeListener(const OUString& /*rPropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*xListener*/) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) - { throw RuntimeException("not implemented"); } + { throw uno::RuntimeException("not implemented", static_cast(this)); }; void SwXCell::removeVetoableChangeListener(const OUString& /*rPropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*xListener*/) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) - { throw RuntimeException("not implemented"); } + { throw uno::RuntimeException("not implemented", static_cast(this)); }; uno::Reference< container::XEnumeration > SwXCell::createEnumeration(void) throw( uno::RuntimeException, std::exception ) { -- cgit