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

Miklos Vajna vmiklos at collabora.co.uk
Tue Apr 26 12:12:31 UTC 2016


 libreofficekit/source/gtk/lokdocview.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit f9ade68d8d432a5e771e9674284f454c0f4c250d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Apr 26 11:38:41 2016 +0200

    lokdocview: log setGraphicSelection() arguments
    
    Change-Id: I36af712274e1a3f9dacd5d62ab42032ca9e9acdd
    Reviewed-on: https://gerrit.libreoffice.org/24390
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index fdb07fe..d10eee8 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -1727,6 +1727,11 @@ setGraphicSelectionInThread(gpointer data)
     LOEvent* pLOEvent = static_cast<LOEvent*>(g_task_get_task_data(task));
 
     priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
+    std::stringstream ss;
+    ss << "lok::Document::setGraphicSelection(" << pLOEvent->m_nSetGraphicSelectionType;
+    ss << ", " << pLOEvent->m_nSetGraphicSelectionX;
+    ss << ", " << pLOEvent->m_nSetGraphicSelectionY << ")";
+    g_info("%s", ss.str().c_str());
     priv->m_pDocument->pClass->setGraphicSelection(priv->m_pDocument,
                                                    pLOEvent->m_nSetGraphicSelectionType,
                                                    pLOEvent->m_nSetGraphicSelectionX,


More information about the Libreoffice-commits mailing list