diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-08-07 13:43:44 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-08-08 23:25:27 +0200 |
commit | df7ffcdb022b0b30006aa8238ba4070eb4c64bd5 (patch) | |
tree | 520286d73c703606ce438e4eccd76dd1523e6131 /sw/source/ui/dbui/dbinsdlg.cxx | |
parent | 642926b4b582f691ac4bc0d90fb3a73f64b91b4a (diff) |
sw: convert some SwStyleNameMapper methods to OUString
Change-Id: I151678b2bf155a7561b4c4e4b2d9fd1f05930477
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index 8fc1c6ce6d4e..b59a1994c258 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -1569,15 +1569,15 @@ void SwInsertDBColAutoPilot::Commit() pValues[2].Value <<= aDBData.nCommandType; pValues[3].Value <<= OUString(aEdDbText.GetText()); - String sTmp; + OUString sTmp; for( sal_uInt16 n = 0, nCnt = aLbTableCol.GetEntryCount(); n < nCnt; ++n ) - ( sTmp += aLbTableCol.GetEntry( n ) ) += '\x0a'; + (sTmp += aLbTableCol.GetEntry(n)) += "\x0a"; - if( sTmp.Len() ) - pValues[4].Value <<= OUString(sTmp); + if (!sTmp.isEmpty()) + pValues[4].Value <<= sTmp; if( sNoTmpl != (sTmp = aLbDbParaColl.GetSelectEntry()) ) - pValues[5].Value <<= OUString(sTmp); + pValues[5].Value <<= sTmp; if( pTAutoFmt ) pValues[6].Value <<= OUString(pTAutoFmt->GetName()); @@ -1642,7 +1642,7 @@ void SwInsertDBColAutoPilot::Commit() } else { - pSubValues[4].Value <<= OUString(sTmp); + pSubValues[4].Value <<= sTmp; eLang = GetAppLanguage(); } |