loolwsd/LibreOfficeKit.hpp | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit e5c9f61dd475c451b59c9ab1bf69dc96c6c71c1a Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Fri Oct 21 11:57:00 2016 -0400 loolwsd: log possible document modifying calls in LOKit wrapper Change-Id: I439460347c598a54af74d264dbde2670cf3542ac Reviewed-on: https://gerrit.libreoffice.org/30189 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loolwsd/LibreOfficeKit.hpp b/loolwsd/LibreOfficeKit.hpp index 7f0c14f..15108ec 100644 --- a/loolwsd/LibreOfficeKit.hpp +++ b/loolwsd/LibreOfficeKit.hpp @@ -235,6 +235,8 @@ public: */ inline void postKeyEvent(int nType, int nCharCode, int nKeyCode) { + Log::trace() << "lok::Document: postKeyEvent: Type=" << nType + << ", CharCode=" << nCharCode << ", KeyCode=" << nKeyCode << Log::end; _pDoc->pClass->postKeyEvent(_pDoc, nType, nCharCode, nKeyCode); } @@ -250,6 +252,9 @@ public: */ inline void postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier) { + Log::trace() << "lok::Document: postMouseEvent: Type=" << nType + << ", X=" << nX << ", nY=" << nY << ", Count=" << nCount + << ", Buttons=" << nButtons << ", Modifier=" << nModifier << Log::end; _pDoc->pClass->postMouseEvent(_pDoc, nType, nX, nY, nCount, nButtons, nModifier); } @@ -276,6 +281,9 @@ public: */ inline void postUnoCommand(const char* pCommand, const char* pArguments = NULL, bool bNotifyWhenFinished = false) { + Log::trace() << "lok::Document: postUnoCommand: Command=" << pCommand + << ", Args=" << (pArguments ? pArguments : "''") + << ", NotifyWhenFinished=" << bNotifyWhenFinished << Log::end; _pDoc->pClass->postUnoCommand(_pDoc, pCommand, pArguments, bNotifyWhenFinished); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits