sd lok: Send the part number when search always.

The protocol is stateless, the client might have switched to another part, and
we wouldn't know.

Change-Id: I1b785d94c9fac86a124d72dd9ea9b35b839a39b8
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index feebd92d..b6ad9f4 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -721,14 +721,8 @@ bool Outliner::SearchAndReplaceOnce()
    if (pViewShell && pViewShell->GetDoc()->isTiledRendering() &&
            mbStringFound && pViewShell->ISA(DrawViewShell))
    {
        ::boost::shared_ptr<DrawViewShell> pDrawViewShell(::boost::dynamic_pointer_cast<DrawViewShell>(pViewShell));

        sal_uInt16 nSelectedPage = pDrawViewShell->GetCurPageId() - 1;
        if (nSelectedPage != mnStartPageIndex)
        {
            OString aPayload = OString::number(nSelectedPage);
            pViewShell->GetDoc()->libreOfficeKitCallback(LOK_CALLBACK_SET_PART, aPayload.getStr());
        }
        OString aPayload = OString::number(maCurrentPosition.mnPageIndex);
        pViewShell->GetDoc()->libreOfficeKitCallback(LOK_CALLBACK_SET_PART, aPayload.getStr());
    }

    return mbEndOfSearch;