summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/core/misc/dsntypes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/misc/dsntypes.cxx')
-rw-r--r--dbaccess/source/core/misc/dsntypes.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 3662148b9462..b44b11fc16f0 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -152,7 +152,7 @@ OUString ODsnTypeCollection::getMediaType(const OUString& _sURL) const
return aFeatures.getOrDefault("MediaType",OUString());
}
-OUString ODsnTypeCollection::getDatasourcePrefixFromMediaType(const OUString& _sMediaType,const OUString& _sExtension)
+OUString ODsnTypeCollection::getDatasourcePrefixFromMediaType(std::u16string_view _sMediaType,std::u16string_view _sExtension)
{
OUString sURL, sFallbackURL;
const uno::Sequence< OUString > aURLs = m_aDriverConfig.getURLs();
@@ -169,7 +169,7 @@ OUString ODsnTypeCollection::getDatasourcePrefixFromMediaType(const OUString& _s
sURL = *pIter;
break;
}
- if ( sFileExtension.isEmpty() && !_sExtension.isEmpty() )
+ if ( sFileExtension.isEmpty() && !_sExtension.empty() )
sFallbackURL = *pIter;
}
}