summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table6.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/table6.cxx')
-rw-r--r--sc/source/core/data/table6.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index cf02241ec117..835cbfed8062 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -847,7 +847,7 @@ bool lcl_maybeReplaceCellString(
!rSearchItem.GetReplaceString().isEmpty())
{
rColObj.SetRawString(nRow, rSearchItem.GetReplaceString());
- rUndoStr = OUString();
+ rUndoStr.clear();
}
return true;
}
@@ -1003,7 +1003,7 @@ bool ScTable::SearchRangeForAllEmptyCells(
pUndoDoc->SetString(ScAddress(nCol, i, nTab), EMPTY_OUSTRING);
}
}
- rUndoStr = OUString();
+ rUndoStr.clear();
}
}