[Libreoffice-commits] core.git: sd/source

Henry Castro hcastro at collabora.com
Wed May 27 01:59:11 PDT 2015


 sd/source/ui/view/Outliner.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit c0cc9a8622a2cd0e3ba07e15a79dd65ca910b233
Author: Henry Castro <hcastro at collabora.com>
Date:   Wed May 27 10:37:03 2015 +0200

    sd LOKit callback for search not found
    
    Change-Id: Ide13a989005169cd6e8663f308d15f0e5984bd86

diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 277efb1..24031ef 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
     {


More information about the Libreoffice-commits mailing list