diff options
Diffstat (limited to 'libreofficekit/source/gtk')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index b4e53e1d940c..015633006d1f 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -1355,7 +1355,7 @@ static void callbackWorker (int nType, const char* pPayload, void* pData) CallbackData* pCallback = new CallbackData(nType, pPayload ? pPayload : "(nil)", pDocView); LOKDocViewPrivate& priv = getPrivate(pDocView); std::stringstream ss; - ss << "callbackWorker, view #" << priv->m_nViewId << ": " << callbackTypeToString(nType) << ", '" << pPayload << "'"; + ss << "callbackWorker, view #" << priv->m_nViewId << ": " << callbackTypeToString(nType) << ", '" << (pPayload ? pPayload : "(nil)") << "'"; g_info("%s", ss.str().c_str()); gdk_threads_add_idle(callback, pCallback); } |