tdf#113041: Kill WaitCursor after FindAll in Draw and Impress

Change-Id: Ibfbbc673a00839f538febc5bab1140b2e53535eb
Reviewed-on: https://gerrit.libreoffice.org/81809
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 7fab5d3..d3bd667 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -495,8 +495,8 @@ bool SdOutliner::StartSearchAndReplace (const SvxSearchItem* pSearchItem)
            pSearchDlg->SetSrchFlag(false);
        }
    }
    else
        mpDrawDocument->GetDocSh()->SetWaitCursor( false );

    mpDrawDocument->GetDocSh()->SetWaitCursor( false );

    return bEndOfSearch;
}