summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2018-08-25 20:56:47 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2018-09-09 21:07:54 +0200
commit2d94bfbabf1948317ad85f9fa3be7d2fcb895a30 (patch)
treed868900a692c24e72d347c8d4f6fe82c2d1cab41
parentecdca13805a2a7ded0f08208337509030d160c2c (diff)
Use optimized OUString concatenation
Change-Id: I95e1a00caf2ef82f2931cc3a2709cbb3c6cc3d26
-rw-r--r--sc/source/ui/docshell/docsh8.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index 9514e3b3f6ef..ce54a91532d9 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -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