[Libreoffice-commits] core.git: forms/source

Caolán McNamara caolanm at redhat.com
Mon Oct 20 08:18:31 PDT 2014


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

New commits:
commit ae218f4895082ea9fca8f414a332bcf47045ba8c
Author: Caolán McNamara <caolanm at 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
             );
         }
     }


More information about the Libreoffice-commits mailing list