summaryrefslogtreecommitdiff
path: root/sw/source/ui/app
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-09 13:31:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-09 16:59:42 +0100
commitae95703819348938bf9e44bd635365e3e48cd05d (patch)
tree673328fb2669241829e582e4d9824ef1ee7eb5e9 /sw/source/ui/app
parent36c1239ae14ab7861f89db8efef121d0b1448636 (diff)
Related: fdo#38838 remove UniString::SetToken & UniString::SearchAscii
Change-Id: I5219578fbeb40a0fe363f03c64021a83f7e505fb
Diffstat (limited to 'sw/source/ui/app')
-rw-r--r--sw/source/ui/app/applab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/applab.cxx b/sw/source/ui/app/applab.cxx
index 064af8e66651..bfe3481adf14 100644
--- a/sw/source/ui/app/applab.cxx
+++ b/sw/source/ui/app/applab.cxx
@@ -142,7 +142,7 @@ static const SwFrmFmt *lcl_InsertLabText( SwWrtShell& rSh, const SwLabItem& rIte
String sDBName;
if( (!rItem.bSynchron || !(nCol|nRow)) && (sDBName = InsertLabEnvText( rSh, rFldMgr, rItem.aWriting )).Len() && !bLast )
{
- sDBName.SetToken( 3, DB_DELIM, OUString("True"));
+ sDBName = comphelper::string::setToken(sDBName, 3, DB_DELIM, "True");
SwInsertFld_Data aData(TYP_DBNEXTSETFLD, 0, sDBName, aEmptyStr, 0, &rSh );
rFldMgr.InsertFld( aData );
}