diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-09-27 14:05:07 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-09-29 10:46:56 +0200 |
commit | 8a7a9992906ba59d575ca9e4441b3e84fea5fae0 (patch) | |
tree | 4dcbce91e7a03338b64580da1d23601833018438 /sw/source/ui/fldui/changedb.cxx | |
parent | d0fdae78797979949ec7ead20ad52b901c8c7e9a (diff) |
String to OUString
Change-Id: I8ff61895eac1dc9714de5ded6e80c06e4ce5357b
Diffstat (limited to 'sw/source/ui/fldui/changedb.cxx')
-rw-r--r-- | sw/source/ui/fldui/changedb.cxx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sw/source/ui/fldui/changedb.cxx b/sw/source/ui/fldui/changedb.cxx index bed40d1b8c6f..aba46b36483e 100644 --- a/sw/source/ui/fldui/changedb.cxx +++ b/sw/source/ui/fldui/changedb.cxx @@ -205,20 +205,22 @@ void SwChangeDBDlg::UpdateFlds() } pSh->StartAllAction(); - String sTableName, sColumnName; + OUString sTableName; + OUString sColumnName; sal_Bool bIsTable = sal_False; - String sTemp(m_pAvailDBTLB->GetDBName(sTableName, sColumnName, &bIsTable)); - sTemp += DB_DELIM; - sTemp += sTableName; - sTemp += DB_DELIM; - sTemp += bIsTable ? '0' : '1'; + const OUString sTemp = m_pAvailDBTLB->GetDBName(sTableName, sColumnName, &bIsTable) + + OUString(DB_DELIM) + + sTableName + + OUString(DB_DELIM) + + OUString(static_cast<sal_Unicode>(bIsTable ? '0' : '1')); pSh->ChangeDBFields( aDBNames, sTemp); pSh->EndAllAction(); } IMPL_LINK_NOARG(SwChangeDBDlg, ButtonHdl) { - String sTableName, sColumnName; + OUString sTableName; + OUString sColumnName; SwDBData aData; sal_Bool bIsTable = sal_False; aData.sDataSource = m_pAvailDBTLB->GetDBName(sTableName, sColumnName, &bIsTable); |