forms/source/component/DatabaseForm.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ae218f4895082ea9fca8f414a332bcf47045ba8c
Author: Caolán McNamara <caol...@redhat.com>
Date:   Mon Oct 20 15:24:52 2014 +0100

    tweak CaughtException
    
    Change-Id: If5aac87876b139bfb394ec124136de131c3518ae

diff --git a/forms/source/component/DatabaseForm.cxx 
b/forms/source/component/DatabaseForm.cxx
index 25debf7..2744b34 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -390,10 +390,11 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& 
_cloneSource )
         }
         catch(const Exception&)
         {
+            css::uno::Any a(cppu::getCaughtException());
             throw WrappedTargetException(
                 "Could not clone the given database form.",
                 *const_cast< ODatabaseForm* >( &_cloneSource ),
-                ::cppu::getCaughtException()
+                a
             );
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to