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

Stephan Bergmann sbergman at redhat.com
Thu Aug 25 09:16:46 UTC 2016


 connectivity/source/drivers/firebird/Connection.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 4a95aa62ba34e1573540dc4395241e2654718c48
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 25 11:16:10 2016 +0200

    cid#1371770 Uncaught exception
    
    Change-Id: I147e98d0eef2568c78ea95aee9fa68656f2e8e75

diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx
index 9a746da..e18be5a 100644
--- a/connectivity/source/drivers/firebird/Connection.cxx
+++ b/connectivity/source/drivers/firebird/Connection.cxx
@@ -40,6 +40,7 @@
 #include <com/sun/star/io/XStream.hpp>
 #include <com/sun/star/lang/DisposedException.hpp>
 #include <com/sun/star/lang/EventObject.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
 #include <com/sun/star/sdbc/ColumnValue.hpp>
 #include <com/sun/star/sdbc/XRow.hpp>
 #include <com/sun/star/sdbc/TransactionIsolation.hpp>
@@ -845,11 +846,11 @@ void SAL_CALL Connection::documentEventOccured( const DocumentEvent& Event )
             }
             catch (const SQLException& e)
             {
-                WrappedTargetException aExceptionWrapper;
+                WrappedTargetRuntimeException aExceptionWrapper;
                 aExceptionWrapper.Context = e.Context;
                 aExceptionWrapper.Message = e.Message;
                 aExceptionWrapper.TargetException <<= e;
-                throw WrappedTargetException( aExceptionWrapper );
+                throw WrappedTargetRuntimeException( aExceptionWrapper );
             }
 
 


More information about the Libreoffice-commits mailing list