diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 13:51:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:25 +0200 |
commit | 1bdb2b6f06c556b9af91dba4f29f3ac73190b09e (patch) | |
tree | 1d941e17952cd891f5309fd862215dd09a84b001 /connectivity/workben | |
parent | 2f2416ff060c780ad87b4d3979112f52da2ae902 (diff) |
remove unnecessary use of OUString constructor in CONNECTIVITY module
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
Diffstat (limited to 'connectivity/workben')
-rw-r--r-- | connectivity/workben/iniParser/main.cxx | 2 | ||||
-rw-r--r-- | connectivity/workben/testmoz/main.cxx | 8 | ||||
-rw-r--r-- | connectivity/workben/testmoz/mozthread.cxx | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/workben/iniParser/main.cxx b/connectivity/workben/iniParser/main.cxx index 89387351151e..25cebc81f7d8 100644 --- a/connectivity/workben/iniParser/main.cxx +++ b/connectivity/workben/iniParser/main.cxx @@ -117,7 +117,7 @@ public: sectionName = OStringToOUString( line.copy(nIndexStart + 1,nIndexEnd - nIndexStart -1).trim(), RTL_TEXTENCODING_ASCII_US ); if (!sectionName.getLength()) - sectionName = OUString("no name section"); + sectionName = "no name section"; ini_Section *aSection = &mAllSection[sectionName]; aSection->sName = sectionName; 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: diff --git a/connectivity/workben/testmoz/mozthread.cxx b/connectivity/workben/testmoz/mozthread.cxx index 6be2b5f3abff..727926772517 100644 --- a/connectivity/workben/testmoz/mozthread.cxx +++ b/connectivity/workben/testmoz/mozthread.cxx @@ -284,9 +284,9 @@ Reference< ::com::sun::star::sdbc::XConnection> TestConnected case testLDAP: 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; case testMozilla: |