diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 14:00:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:26 +0200 |
commit | e52779d2f8722c713f72aedbf475267440d729f0 (patch) | |
tree | 0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /connectivity/workben | |
parent | remove unnecessary use of OUString constructor in BASIC module (diff) | |
download | core-e52779d2f8722c713f72aedbf475267440d729f0.tar.gz core-e52779d2f8722c713f72aedbf475267440d729f0.zip |
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'connectivity/workben')
-rw-r--r-- | connectivity/workben/testmoz/main.cxx | 6 | ||||
-rw-r--r-- | connectivity/workben/testmoz/mozthread.cxx | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/workben/testmoz/main.cxx b/connectivity/workben/testmoz/main.cxx index 7f288da1f0e1..8f424cb81b3e 100644 --- a/connectivity/workben/testmoz/main.cxx +++ b/connectivity/workben/testmoz/main.cxx @@ -380,10 +380,10 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected { case -1: case 1: //mozilla - url=OUString("sdbc:address:mozilla://"); + url = "sdbc:address:mozilla://"; break; case 2: - url=OUString("sdbc:address:ldap://"); + url = "sdbc:address:ldap://"; char hostname[40],basedn[40]; scanf("%s %s",hostname,basedn); aValue.realloc(2); @@ -397,7 +397,7 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected break; case 5: //Default LDAP AB - url=OUString("sdbc:address:ldap://"); + url = "sdbc:address:ldap://"; aValue.realloc(2); aValue[0].Name = "HostName"; aValue[0].Value <<= OUString("sun-ds"); diff --git a/connectivity/workben/testmoz/mozthread.cxx b/connectivity/workben/testmoz/mozthread.cxx index 727926772517..d7e53d7a0e93 100644 --- a/connectivity/workben/testmoz/mozthread.cxx +++ b/connectivity/workben/testmoz/mozthread.cxx @@ -282,7 +282,7 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected switch( nIndex) { case testLDAP: - url=OUString("sdbc:address:ldap://"); + url = "sdbc:address:ldap://"; aValue.realloc(2); aValue[0].Name = "HostName"; aValue[0].Value <<= OUString("sun-ds"); @@ -290,16 +290,16 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected aValue[1].Value <<= OUString("dc=sun,dc=com"); break; case testMozilla: - url=OUString("sdbc:address:mozilla://"); + url = "sdbc:address:mozilla://"; break; case testOp: - url=OUString("sdbc:address:outlook://"); + url = "sdbc:address:outlook://"; break; case testOe: - url=OUString("sdbc:address:outlookexp://"); + url = "sdbc:address:outlookexp://"; break; default: - url=OUString("sdbc:address:mozilla://"); + url = "sdbc:address:mozilla://"; break; } pConnection = |