bundled/include/LibreOfficeKit/LibreOfficeKit.h | 10 +++++----- bundled/include/LibreOfficeKit/LibreOfficeKit.hxx | 6 +++--- kit/ChildSession.cpp | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-)
New commits: commit c73026cdf94de870c1a54758be8197d359397ade Author: Pranav Kant <pran...@collabora.co.uk> Date: Wed Feb 21 22:05:18 2018 +0530 postExtTextInputEvent -> postWindowExtTextInputEvent Change-Id: If5612bffac612ca7f52c8eec242e5ad9984cd669 diff --git a/bundled/include/LibreOfficeKit/LibreOfficeKit.h b/bundled/include/LibreOfficeKit/LibreOfficeKit.h index 7492fcc7..d465d541 100644 --- a/bundled/include/LibreOfficeKit/LibreOfficeKit.h +++ b/bundled/include/LibreOfficeKit/LibreOfficeKit.h @@ -300,11 +300,11 @@ struct _LibreOfficeKitDocumentClass /// @see lok::Document::setViewLanguage(). void (*setViewLanguage) (LibreOfficeKitDocument* pThis, int nId, const char* language); - /// @see lok::Document::postExtTextInputEvent - void (*postExtTextInputEvent) (LibreOfficeKitDocument* pThis, - unsigned nWindowId, - int nType, - const char* pText); + /// @see lok::Document::postWindowExtTextInputEvent + void (*postWindowExtTextInputEvent) (LibreOfficeKitDocument* pThis, + unsigned nWindowId, + int nType, + const char* pText); #endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY }; diff --git a/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx b/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx index 55e29ebd..232eada6 100644 --- a/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/bundled/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -538,16 +538,16 @@ public: } /** - * Post the text input from external input window, like IME + * Post the text input from external input window, like IME, to given windowId * * @param nWindowId Specify the window id to post the input event to. If * nWindow is 0, the event is posted into the document * @param nType see LibreOfficeKitExtTextInputType * @param pText Text for LOK_EXT_TEXTINPUT */ - void postExtTextInputEvent(unsigned nWindowId, int nType, const char* pText) + void postWindowExtTextInputEvent(unsigned nWindowId, int nType, const char* pText) { - mpDoc->pClass->postExtTextInputEvent(mpDoc, nWindowId, nType, pText); + mpDoc->pClass->postWindowExtTextInputEvent(mpDoc, nWindowId, nType, pText); } #endif // defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp index f09f5b39..6a10dca8 100644 --- a/kit/ChildSession.cpp +++ b/kit/ChildSession.cpp @@ -790,7 +790,7 @@ bool ChildSession::extTextInputEvent(const char* /*buffer*/, int /*length*/, std::unique_lock<std::mutex> lock(_docManager.getDocumentMutex()); getLOKitDocument()->setView(_viewId); - getLOKitDocument()->postExtTextInputEvent(id, type, decodedText.c_str()); + getLOKitDocument()->postWindowExtTextInputEvent(id, type, decodedText.c_str()); return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits