summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r--sc/source/ui/view/viewfun2.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 13bfe1042fde..67033a72a9e5 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1723,7 +1723,6 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
if (rDoc.SearchAndReplace(*pSearchItem, nCol, nRow, nTab, rMark, aMatchedRanges, aUndoStr, pUndoDoc.get()))
{
bFound = true;
- bFirst = true;
if (bAddUndo)
{
GetViewData().GetDocShell()->GetUndoManager()->AddUndoAction(