sfx2/source/view/viewsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 02cde0be4fec9f4c77f535e5053888ef1e37fad6
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Sat Jul 25 16:51:47 2020 -0400
Commit:     Ashod Nakashian <a...@collabora.com>
CommitDate: Mon Aug 10 04:44:41 2020 +0200

    sfx2: lok: more informative warning
    
    Include the LOK callback even type as readable name
    instead of its numeric ID.
    
    Change-Id: I7865ae24878124b850468bcaa630ca444f4b2a96
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99971
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Ashod Nakashian <a...@collabora.com>

diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 978c1cca5d20..b9abc8833573 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1496,7 +1496,7 @@ void SfxViewShell::libreOfficeKitViewCallback(int nType, 
const char* pPayload) c
         SAL_WARN(
             "sfx.view",
             "SfxViewShell::libreOfficeKitViewCallback no callback set! Dropped 
payload of type "
-                << nType << ": [" << pPayload << ']');
+                << lokCallbackTypeToString(nType) << ": [" << pPayload << ']');
 }
 
 void SfxViewShell::afterCallbackRegistered()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to