diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-19 21:15:00 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-03-20 10:28:58 +0000 |
commit | b2f8318dbda8a09fa312663d14fcaf057ee5069d (patch) | |
tree | 1f06862395db47ed52450a0cb5425cc9463f5e27 /connectivity/source/commontools/dbtools.cxx | |
parent | 04032bd6062638f6945e3911a491fa311404c507 (diff) |
simplify OUString assignments
Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb
Reviewed-on: https://gerrit.libreoffice.org/2863
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'connectivity/source/commontools/dbtools.cxx')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); } |