summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mysql_jdbc/YDriver.cxx')
-rw-r--r--connectivity/source/drivers/mysql_jdbc/YDriver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
index cf834b240923..d575ad874995 100644
--- a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
+++ b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
@@ -116,7 +116,7 @@ OUString transformUrl(const OUString& _sUrl)
sNewUrl = "sdbc:" + sNewUrl;
else
{
- sNewUrl = "jdbc:mysql://" + sNewUrl.copy(5);
+ sNewUrl = OUString::Concat("jdbc:mysql://") + sNewUrl.subView(5);
}
return sNewUrl;
}