[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - vbahelper/inc

Luboš Luňák l.lunak at suse.cz
Fri Apr 19 12:20:22 PDT 2013


 vbahelper/inc/vbahelper/vbareturntypes.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2100cf4a1fc5f1343edbbc666ca784e362175326
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Fri Apr 19 21:19:05 2013 +0200

    fix exception specification
    
    otherwise it's more lax than in the base class
    
    Change-Id: I6d243645b8bac9a6c31ef9bfb1f50209a474c3d4

diff --git a/vbahelper/inc/vbahelper/vbareturntypes.hxx b/vbahelper/inc/vbahelper/vbareturntypes.hxx
index 82de8cd..d44252d 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"); }
         };
 


More information about the Libreoffice-commits mailing list