From 3bc8e5f81b85b02a34cd6bb9080ba0fe1505bd33 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Wed, 27 May 2015 10:37:03 +0200 Subject: sd LOKit callback for search not found Change-Id: Ide13a989005169cd6e8663f308d15f0e5984bd86 (cherry picked from commit c0cc9a8622a2cd0e3ba07e15a79dd65ca910b233) --- sd/source/ui/view/Outliner.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sd') diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index aff2e76c47f3..60873d00a0ef 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -70,6 +70,7 @@ #include "framework/FrameworkHelper.hxx" #include #include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -1056,7 +1057,12 @@ void Outliner::ShowEndOfSearchDialog() if (mbStringFound) aString = SD_RESSTR(STR_END_SEARCHING); else + { aString = SD_RESSTR(STR_STRING_NOTFOUND); + mpDrawDocument->libreOfficeKitCallback(LOK_CALLBACK_SEARCH_NOT_FOUND, + mpSearchItem->GetSearchString().toUtf8().getStr()); + + } } else { -- cgit