diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-10-20 15:42:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-10-20 15:42:36 +0200 |
commit | 66da64c74829a68a8dc55c9380ecd6c84d0fc331 (patch) | |
tree | 50cdb164a9a95a7240106c5e10a5e4433ef1f3aa /forms/source | |
parent | b38c71e3653552bec9b1cbeac6bc1b0df736c82b (diff) |
Missing include
...and only use getCaughtException as first statement in catch block.
Change-Id: Idcac073896b84fd2671b52b2315f454651dbf910
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 180a2c06501b..b7a3a9efec38 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -42,6 +42,7 @@ #include <comphelper/listenernotification.hxx> #include <comphelper/property.hxx> #include <connectivity/dbtools.hxx> +#include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/supportsservice.hxx> #include <toolkit/helper/emptyfontdescriptor.hxx> @@ -654,10 +655,11 @@ void SAL_CALL OControlModel::setName(const OUString& _rName) throw(RuntimeExcept } catch (const css::beans::UnknownPropertyException&) { + css::uno::Any a(cppu::getCaughtException()); throw WrappedTargetRuntimeException( "OControlModel::setName", *const_cast< OControlModel* >( this ), - ::cppu::getCaughtException() + a ); } } |