summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/acredlin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/miscdlgs/acredlin.cxx')
-rw-r--r--sc/source/ui/miscdlgs/acredlin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 3121b36ee381..ade5249347ee 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -304,7 +304,7 @@ bool ScAcceptChgDlg::IsValidAction(const ScChangeAction* pScChangeAction)
ScChangeActionType eType=pScChangeAction->GetType();
OUString aDesc;
- OUString aComment = comphelper::string::remove(pScChangeAction->GetComment(), '\n');
+ OUString aComment = pScChangeAction->GetComment().replaceAll("\n", "");
if(eType==SC_CAT_CONTENT)
{
@@ -429,7 +429,7 @@ SvTreeListEntry* ScAcceptChgDlg::InsertChangeAction(
bIsGenerated = true;
}
- OUString aComment = comphelper::string::remove(pScChangeAction->GetComment(), '\n');
+ OUString aComment = pScChangeAction->GetComment().replaceAll("\n", "");
if (!aDesc.isEmpty())
{
@@ -600,7 +600,7 @@ SvTreeListEntry* ScAcceptChgDlg::InsertFilteredAction(
aString += "\t";
}
- OUString aComment = comphelper::string::remove(pScChangeAction->GetComment(), '\n');
+ OUString aComment = pScChangeAction->GetComment().replaceAll("\n", "");
if (!aDesc.isEmpty())
{
@@ -715,7 +715,7 @@ SvTreeListEntry* ScAcceptChgDlg::InsertChangeActionContent(const ScChangeActionC
aString += "\t";
}
- OUString aComment = comphelper::string::remove(pScChangeAction->GetComment(), '\n');
+ OUString aComment = pScChangeAction->GetComment().replaceAll("\n", "");
if(!aDesc.isEmpty())
{