sc/source/ui/view/viewfun2.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 65c45688caba3213ce161013f5f2b1f753f7eecf Author: Joren De Cuyper <joren.libreoff...@telenet.be> Date: Wed Apr 3 23:58:45 2013 +0200 fdo#51615 replace button in Find&Replace Dialog not search for the next item Change-Id: Ia1735ae39618fb8b0e4749e1970adfe83192f755 Reviewed-on: https://gerrit.libreoffice.org/3197 Reviewed-by: Jan Holesovsky <ke...@suse.cz> Tested-by: Jan Holesovsky <ke...@suse.cz> diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index cb881d2..1e01df5 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -1767,7 +1767,13 @@ void ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, || nCommand == SVX_SEARCHCMD_REPLACE_ALL ) { if ( nCommand == SVX_SEARCHCMD_REPLACE ) + { pDocSh->PostPaint( nCol,nRow,nTab, nCol,nRow,nTab, PAINT_GRID ); + SvxSearchItem aSearchItem = ScGlobal::GetSearchItem(); + aSearchItem.SetCommand(SVX_SEARCHCMD_FIND); + aSearchItem.SetWhich(SID_SEARCH_ITEM); + GetViewData()->GetDispatcher().Execute( FID_SEARCH_NOW, SFX_CALLMODE_STANDARD, &aSearchItem, 0L ); + } else pDocSh->PostPaintGridAll(); pDocSh->SetDocumentModified(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits