diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-09 08:27:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-09 13:45:26 +0200 |
commit | 2e1503dbd01aa62ae4ad0af4f481797521c1c8d5 (patch) | |
tree | 9ba24cb459c972f0c81cefa6ea38130cbfe0b721 /libreofficekit | |
parent | 83c5214889c712646e45dc1c19b6d3c13a05aa83 (diff) |
lokdocview: log postUnoCommand() arguments
Change-Id: I0febc2b89d95bde59ad9d3a90d404b3932cc3624
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index df78d13cd21a..fd6d7693844e 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -698,7 +698,7 @@ static void callbackWorker (int nType, const char* pPayload, void* pData) LOKDocView* pDocView = LOK_DOC_VIEW (pData); CallbackData* pCallback = new CallbackData(nType, pPayload ? pPayload : "(nil)", pDocView); - g_info("lok_doc_view_callbackWorker: %s, '%s'", callbackTypeToString(nType), pPayload); + g_info("callbackWorker: %s, '%s'", callbackTypeToString(nType), pPayload); gdk_threads_add_idle(callback, pCallback); } @@ -1365,6 +1365,9 @@ postCommandInThread (gpointer data) LOKDocViewPrivate *priv = static_cast<LOKDocViewPrivate*>(lok_doc_view_get_instance_private (pDocView)); priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId); + std::stringstream ss; + ss << "lok::Document::postUnoCommand(" << pLOEvent->m_pCommand << ", " << pLOEvent->m_pArguments << ")"; + g_info(ss.str().c_str()); priv->m_pDocument->pClass->postUnoCommand(priv->m_pDocument, pLOEvent->m_pCommand, pLOEvent->m_pArguments); } |