summaryrefslogtreecommitdiff
path: root/connectivity/workben/testmoz/main.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 13:51:21 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 11:21:25 +0200
commit1bdb2b6f06c556b9af91dba4f29f3ac73190b09e (patch)
tree1d941e17952cd891f5309fd862215dd09a84b001 /connectivity/workben/testmoz/main.cxx
parent2f2416ff060c780ad87b4d3979112f52da2ae902 (diff)
remove unnecessary use of OUString constructor in CONNECTIVITY module
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
Diffstat (limited to 'connectivity/workben/testmoz/main.cxx')
-rw-r--r--connectivity/workben/testmoz/main.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/workben/testmoz/main.cxx b/connectivity/workben/testmoz/main.cxx
index c3dac39212ff..7f288da1f0e1 100644
--- a/connectivity/workben/testmoz/main.cxx
+++ b/connectivity/workben/testmoz/main.cxx
@@ -387,9 +387,9 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected
char hostname[40],basedn[40];
scanf("%s %s",hostname,basedn);
aValue.realloc(2);
- aValue[0].Name = OUString("HostName");
+ aValue[0].Name = "HostName";
aValue[0].Value <<= OUString::createFromAscii(hostname);
- aValue[1].Name = OUString("BaseDN");
+ aValue[1].Name = "BaseDN";
aValue[1].Value <<= OUString::createFromAscii(basedn);
break;
case 3:
@@ -399,9 +399,9 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected
//Default LDAP AB
url=OUString("sdbc:address:ldap://");
aValue.realloc(2);
- aValue[0].Name = OUString("HostName");
+ aValue[0].Name = "HostName";
aValue[0].Value <<= OUString("sun-ds");
- aValue[1].Name = OUString("BaseDN");
+ aValue[1].Name = "BaseDN";
aValue[1].Value <<= OUString("dc=sun,dc=com");
break;
default: