diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-19 21:19:05 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-19 21:19:05 +0200 |
commit | 2100cf4a1fc5f1343edbbc666ca784e362175326 (patch) | |
tree | 240cf5c797498d8b852516ce5fab8ac89bfaaf0a /vbahelper | |
parent | efebb96f4bf2ad9f1a876e1eb3704e3ce1cb7bf6 (diff) |
fix exception specification
otherwise it's more lax than in the base class
Change-Id: I6d243645b8bac9a6c31ef9bfb1f50209a474c3d4
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/inc/vbahelper/vbareturntypes.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/inc/vbahelper/vbareturntypes.hxx b/vbahelper/inc/vbahelper/vbareturntypes.hxx index 82de8cd5514d..d44252dc2999 100644 --- a/vbahelper/inc/vbahelper/vbareturntypes.hxx +++ b/vbahelper/inc/vbahelper/vbareturntypes.hxx @@ -39,8 +39,8 @@ namespace ooo T1 mnValue; public: DefaultReturnHelper( const T1& nValue ) : mnValue( nValue ) {} - virtual void SAL_CALL setValue( T1 nValue ) { mnValue = nValue; } - virtual T1 SAL_CALL getValue() { return mnValue; } + virtual void SAL_CALL setValue( T1 nValue ) throw (::com::sun::star::uno::RuntimeException) { mnValue = nValue; } + virtual T1 SAL_CALL getValue() throw (::com::sun::star::uno::RuntimeException) { return mnValue; } OUString SAL_CALL getDefaultPropertyName( ) throw (css::uno::RuntimeException) { return OUString("Value"); } }; |