summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docredln.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docredln.cxx')
-rw-r--r--sw/source/core/doc/docredln.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 915c19936da0..040fec2447ce 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -2124,7 +2124,7 @@ bool SwDoc::AcceptRedline( const SwPaM& rPam, bool bCallDelete )
{
SwRewriter aRewriter;
aRewriter.AddRule(UndoArg1, OUString::number(nRet));
- aTmpStr = aRewriter.Apply(String(SW_RES(STR_N_REDLINES)));
+ aTmpStr = aRewriter.Apply(OUString(SW_RES(STR_N_REDLINES)));
}
SwRewriter aRewriter;
@@ -2234,7 +2234,7 @@ bool SwDoc::RejectRedline( const SwPaM& rPam, bool bCallDelete )
{
SwRewriter aRewriter;
aRewriter.AddRule(UndoArg1, OUString::number(nRet));
- aTmpStr = aRewriter.Apply(String(SW_RES(STR_N_REDLINES)));
+ aTmpStr = aRewriter.Apply(OUString(SW_RES(STR_N_REDLINES)));
}
SwRewriter aRewriter;