summaryrefslogtreecommitdiff
path: root/connectivity/workben
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/workben')
-rw-r--r--connectivity/workben/iniParser/main.cxx2
-rw-r--r--connectivity/workben/testmoz/main.cxx8
-rw-r--r--connectivity/workben/testmoz/mozthread.cxx4
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: