From b2f8318dbda8a09fa312663d14fcaf057ee5069d Mon Sep 17 00:00:00 2001 From: "Chr. Rossmanith" Date: Tue, 19 Mar 2013 21:15:00 +0100 Subject: simplify OUString assignments Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb Reviewed-on: https://gerrit.libreoffice.org/2863 Reviewed-by: Noel Power Tested-by: Noel Power --- connectivity/source/commontools/dbtools.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity/source/commontools/dbtools.cxx') diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 499e6b23ca83..8e6513dc7abd 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -429,9 +429,9 @@ SharedConnection lcl_connectRowSet(const Reference< XRowSet>& _rxRowSet, const R if (!sUser.isEmpty()) { // use user and pwd together with the url Sequence< PropertyValue> aInfo(2); - aInfo.getArray()[0].Name = ::rtl::OUString("user"); + aInfo.getArray()[0].Name = "user"; aInfo.getArray()[0].Value <<= sUser; - aInfo.getArray()[1].Name = ::rtl::OUString("password"); + aInfo.getArray()[1].Name = "password"; aInfo.getArray()[1].Value <<= sPwd; xPureConnection = xDriverManager->getConnectionWithInfo( sURL, aInfo ); } -- cgit