summaryrefslogtreecommitdiffstats
path: root/jvmfwk/source/fwkbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/source/fwkbase.cxx')
-rw-r--r--jvmfwk/source/fwkbase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx
index df84d7c77f9e..501595c6e857 100644
--- a/jvmfwk/source/fwkbase.cxx
+++ b/jvmfwk/source/fwkbase.cxx
@@ -113,9 +113,9 @@ VendorSettings::VendorSettings()
"[Java framework] Error in constructor VendorSettings::VendorSettings() (fwkbase.cxx)");
}
-std::optional<VersionInfo> VendorSettings::getVersionInformation(const OUString & sVendor) const
+std::optional<VersionInfo> VendorSettings::getVersionInformation(std::u16string_view sVendor) const
{
- OSL_ASSERT(!sVendor.isEmpty());
+ OSL_ASSERT(!sVendor.empty());
OString osVendor = OUStringToOString(sVendor, RTL_TEXTENCODING_UTF8);
CXPathObjectPtr pathObject = xmlXPathEvalExpression(
reinterpret_cast<xmlChar const *>(