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

Noel Grandin noel at peralex.com
Mon Oct 27 02:43:25 PDT 2014


 connectivity/source/drivers/jdbc/ResultSet.cxx |    2 +-
 connectivity/source/inc/java/sql/ResultSet.hxx |    2 +-
 package/source/zippackage/ZipPackageEntry.cxx  |    2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit c0c8478620c1a157e1175cc3c632b09e0e4506a3
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Oct 27 11:36:37 2014 +0200

    cid#1249676 Uninitialized scalar field
    
    Change-Id: I87df4e9c1d3f36afccf13aebfd95d1b4f3bfa655

diff --git a/package/source/zippackage/ZipPackageEntry.cxx b/package/source/zippackage/ZipPackageEntry.cxx
index 4d5d63d..78a2e5d 100644
--- a/package/source/zippackage/ZipPackageEntry.cxx
+++ b/package/source/zippackage/ZipPackageEntry.cxx
@@ -42,7 +42,9 @@ using namespace com::sun::star::packages::zip::ZipConstants;
 
 ZipPackageEntry::ZipPackageEntry()
 : mbIsFolder( false )
+, mbAllowRemoveOnInsert(false)
 , mpParent ( NULL )
+, m_nFormat(0)
 {
 }
 
commit 5c90f8dd04d77ebc444b68723e0a17f166b700cd
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Oct 27 11:34:06 2014 +0200

    cid#1249675 Uncaught exception
    
    Change-Id: I3923a6a83bfc0a35f5a5af86cfd0e5308cfda24c

diff --git a/connectivity/source/drivers/jdbc/ResultSet.cxx b/connectivity/source/drivers/jdbc/ResultSet.cxx
index 948c127..7122937 100644
--- a/connectivity/source/drivers/jdbc/ResultSet.cxx
+++ b/connectivity/source/drivers/jdbc/ResultSet.cxx
@@ -899,7 +899,7 @@ sal_Bool java_sql_ResultSet::convertFastPropertyValue(
                             ::com::sun::star::uno::Any & rOldValue,
                             sal_Int32 nHandle,
                             const ::com::sun::star::uno::Any& rValue )
-                                throw (::com::sun::star::lang::IllegalArgumentException)
+                                throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
 {
     bool bRet = false;
     switch(nHandle)
diff --git a/connectivity/source/inc/java/sql/ResultSet.hxx b/connectivity/source/inc/java/sql/ResultSet.hxx
index eb3a2ca..07a0653 100644
--- a/connectivity/source/inc/java/sql/ResultSet.hxx
+++ b/connectivity/source/inc/java/sql/ResultSet.hxx
@@ -87,7 +87,7 @@ namespace connectivity
                                                         ::com::sun::star::uno::Any & rOldValue,
                             sal_Int32 nHandle,
                                                         const ::com::sun::star::uno::Any& rValue )
-                                throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE;
+                                throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
         virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
                                 sal_Int32 nHandle,
                                                                 const ::com::sun::star::uno::Any& rValue


More information about the Libreoffice-commits mailing list