[Libreoffice-commits] core.git: sc/source
Henry Castro
hcastro at collabora.com
Mon May 25 20:54:20 PDT 2015
sc/source/ui/view/viewfun2.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 3dc50a3b9afc6eec42fb9f657a4dfd236066892f
Author: Henry Castro <hcastro at collabora.com>
Date: Mon May 25 23:45:06 2015 -0400
sc LOKit callback for search not found.
Needed for signaling the user when no match was found for the searched input
Change-Id: I10089d065c26deea7cb57a9dc20f130f9afb6d99
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 5b5ec3b..49d70d8 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1775,7 +1775,11 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
GetFrameWin()->LeaveWait();
if (!bIsApi)
+ {
+ rDoc.GetDrawLayer()->libreOfficeKitCallback(LOK_CALLBACK_SEARCH_NOT_FOUND,
+ pSearchItem->GetSearchString().toUtf8().getStr());
SvxSearchDialogWrapper::SetSearchLabel(SL_NotFound);
+ }
break; // break 'while (TRUE)'
}
More information about the Libreoffice-commits
mailing list