diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-16 17:15:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-17 16:12:52 +0000 |
commit | 5c2f401a5f07065dd9ae06e0a80911beb6fd9ac4 (patch) | |
tree | d9a1430e69aeb6b59915a1b710eea58c1d7abd82 /dbaccess | |
parent | Adapt to no-longer explicit OUStringLiteral ctor (diff) | |
download | core-5c2f401a5f07065dd9ae06e0a80911beb6fd9ac4.tar.gz core-5c2f401a5f07065dd9ae06e0a80911beb6fd9ac4.zip |
Minor simplification
Change-Id: Ia953a09f708fd83a2a5b2655dec2ed626891bb7c
Reviewed-on: https://gerrit.libreoffice.org/32099
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/misc/dsntypes.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx index 0414b77e2219..5aabdd7620ef 100644 --- a/dbaccess/source/core/misc/dsntypes.cxx +++ b/dbaccess/source/core/misc/dsntypes.cxx @@ -297,11 +297,11 @@ OUString ODsnTypeCollection::getEmbeddedDatabase() const { if ( aInstalled.hasByName("EmbeddedDatabases/DefaultEmbeddedDatabase/Value") ) { - static const char s_sValue[] = "EmbeddedDatabases/DefaultEmbeddedDatabase/Value"; + static const OUStringLiteral s_sValue = "EmbeddedDatabases/DefaultEmbeddedDatabase/Value"; aInstalled.getNodeValue(s_sValue) >>= sEmbeddedDatabaseURL; if ( !sEmbeddedDatabaseURL.isEmpty() ) - aInstalled.getNodeValue(OUStringLiteral(s_sValue) + "/" + sEmbeddedDatabaseURL + "/URL") >>= sEmbeddedDatabaseURL; + aInstalled.getNodeValue(s_sValue + "/" + sEmbeddedDatabaseURL + "/URL") >>= sEmbeddedDatabaseURL; } } if ( sEmbeddedDatabaseURL.isEmpty() ) |