Use optimized OUString concatenation

Change-Id: I95e1a00caf2ef82f2931cc3a2709cbb3c6cc3d26
This commit is contained in:
Matteo Casalin 2018-08-25 20:56:47 +02:00
parent ecdca13805
commit 2d94bfbabf

View file

@ -119,8 +119,7 @@ namespace
// get connection
OUString aConnUrl("sdbc:dbase:");
aConnUrl += aPath;
const OUString aConnUrl{"sdbc:dbase:" + aPath};
// sdbc:dbase is based on the css.sdbc.FILEConnectionProperties UNOIDL service, so we can
// transport the raw rtl_TextEncoding value instead of having to translate it into a IANA