[Libreoffice-commits] .: connectivity/source

Lionel Elie Mamane lmamane at kemper.freedesktop.org
Sun Oct 30 08:00:39 PDT 2011


 connectivity/source/drivers/hsqldb/StorageFileAccess.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit e382cc5c08d0339e5ab7325f1e989222d0e261f5
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Sun Oct 30 15:51:00 2011 +0100

    fdo#33047: no data accessible if filename contains "?"

diff --git a/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx b/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx
index 8a719ee..208717c 100644
--- a/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx
+++ b/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx
@@ -84,6 +84,9 @@ SAL_DLLPUBLIC_EXPORT jboolean JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_Storag
             catch(const NoSuchElementException&)
             {
             }
+            catch(const IllegalArgumentException&)
+            {
+            }
             return aStoragePair.first.first->isStreamElement(StorageContainer::removeURLPrefix(sName,aStoragePair.first.second));
         }
         catch(const NoSuchElementException&)


More information about the Libreoffice-commits mailing list