diff options
author | Frank Schönheit <fs@openoffice.org> | 2010-01-04 13:57:49 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2010-01-04 13:57:49 +0000 |
commit | 730b75df62443c6c17646d6c82a9b5b1f389c71c (patch) | |
tree | 13deec8a3dfd2062109991ae2e36c641ca2cb055 /dbaccess | |
parent | b45e9ea9791b2ac6879f5ed4080a3426a1cb5639 (diff) |
#i108040#
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/misc/dsntypes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx index 672b88c810d4..f81dc020b05f 100644 --- a/dbaccess/source/core/misc/dsntypes.cxx +++ b/dbaccess/source/core/misc/dsntypes.cxx @@ -195,7 +195,7 @@ String ODsnTypeCollection::getDatasourcePrefixFromMediaType(const ::rtl::OUStrin if ( aFeatures.getOrDefault("MediaType",::rtl::OUString()) == _sMediaType ) { const ::rtl::OUString sFileExtension = aFeatures.getOrDefault("Extension",::rtl::OUString()); - if ( (sFileExtension.getLength() && _sExtension == sFileExtension ) || !sFileExtension.getLength() || !_sExtension.getLength() ) + if ( _sExtension == sFileExtension ) { sURL = *pIter; break; |