summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-28 15:54:29 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-28 22:14:29 +0100
commit91a42a99b70bfb6c14a7f344aa7d38f1307e8286 (patch)
treea3f75961181546996c69372d4d5658c9db219876
parent13de0eb8375bdbca93790c70efd791516d030a6c (diff)
throw RuntimeExceptions to let API user know its a noop
Change-Id: I37b12eba2f9cb918d196f8854ae61f5e81cd76e7
-rw-r--r--sw/source/core/unocore/unotbl.cxx8
1 files changed, 4 insertions, 4 deletions
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<cppu::OWeakObject*>(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<cppu::OWeakObject*>(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<cppu::OWeakObject*>(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<cppu::OWeakObject*>(this)); };
uno::Reference< container::XEnumeration > SwXCell::createEnumeration(void) throw( uno::RuntimeException, std::exception )
{