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

New commits:
commit 2100cf4a1fc5f1343edbbc666ca784e362175326
Author: Luboš Luňák <l.lu...@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"); }
         };
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to