summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2015-05-27 10:37:03 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-05-27 10:58:21 +0200
commitc0cc9a8622a2cd0e3ba07e15a79dd65ca910b233 (patch)
tree5ea521fac6ca8c4e4ec73d5210a589ec43666168 /sd
parent3be7e611833f520bd05af7fbdf4aff96f3b13c78 (diff)
sd LOKit callback for search not found
Change-Id: Ide13a989005169cd6e8663f308d15f0e5984bd86
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/Outliner.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 277efb16bb77..24031eff997c 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -70,6 +70,7 @@
#include "framework/FrameworkHelper.hxx"
#include <svx/svxids.hrc>
#include <editeng/editerr.hxx>
+#include <LibreOfficeKit/LibreOfficeKitEnums.h>
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
{