summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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