summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-10-30 15:51:00 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2011-10-30 16:00:00 +0100
commite382cc5c08d0339e5ab7325f1e989222d0e261f5 (patch)
treef15a60731c99739f4178dbf4703d7735ad6c9408 /connectivity
parent6efdf794cdd0c979ffead0e5051309f711b23997 (diff)
fdo#33047: no data accessible if filename contains "?"
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/hsqldb/StorageFileAccess.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx b/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx
index 8a719ee3f638..208717c3c9e9 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&)