[Libreoffice-commits] core.git: dbaccess/source
Stephan Bergmann
sbergman at redhat.com
Sat Dec 17 16:13:41 UTC 2016
dbaccess/source/core/misc/dsntypes.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5c2f401a5f07065dd9ae06e0a80911beb6fd9ac4
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Dec 16 17:15:35 2016 +0100
Minor simplification
Change-Id: Ia953a09f708fd83a2a5b2655dec2ed626891bb7c
Reviewed-on: https://gerrit.libreoffice.org/32099
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 0414b77..5aabdd7 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() )
More information about the Libreoffice-commits
mailing list