summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/misc/redlndlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/misc/redlndlg.cxx')
-rw-r--r--sw/source/ui/misc/redlndlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/misc/redlndlg.cxx b/sw/source/ui/misc/redlndlg.cxx
index cf9ff24bb953..7885bb402ec2 100644
--- a/sw/source/ui/misc/redlndlg.cxx
+++ b/sw/source/ui/misc/redlndlg.cxx
@@ -434,7 +434,7 @@ void SwRedlineAcceptDlg::Activate()
{
// update only comment
String sComment(rRedln.GetComment());
- sComment.SearchAndReplaceAll((sal_Unicode)_LF,(sal_Unicode)' ');
+ sComment.SearchAndReplaceAll((sal_Unicode)'\n',(sal_Unicode)' ');
pTable->SetEntryText(sComment, pParent->pTLBParent, 3);
}
pParent->sComment = rRedln.GetComment();
@@ -721,7 +721,7 @@ void SwRedlineAcceptDlg::InsertParents(sal_uInt16 nStart, sal_uInt16 nEnd)
pRedlineParent->pData = pRedlineData;
pRedlineParent->pNext = 0;
String sComment(rRedln.GetComment());
- sComment.SearchAndReplaceAll((sal_Unicode)_LF,(sal_Unicode)' ');
+ sComment.SearchAndReplaceAll((sal_Unicode)'\n',(sal_Unicode)' ');
pRedlineParent->sComment = sComment;
aRedlineParents.insert(aRedlineParents.begin() + i, pRedlineParent);
@@ -1108,7 +1108,7 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, CommandHdl)
// insert / change comment
pSh->SetRedlineComment(sMsg);
- sMsg.SearchAndReplaceAll((sal_Unicode)_LF,(sal_Unicode)' ');
+ sMsg.SearchAndReplaceAll((sal_Unicode)'\n',(sal_Unicode)' ');
pTable->SetEntryText(sMsg, pEntry, 3);
}