loolwsd/LOOLKit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c005f765bfefb1a7f9f1936c140e7ea4ba69ff2b Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun May 29 20:18:17 2016 -0400 loolwsd: reuse the same callback for now Change-Id: I0f5ff42ed8c3ab422909d185089bfc31d5bb298b Reviewed-on: https://gerrit.libreoffice.org/25663 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp index b462076..074a263 100644 --- a/loolwsd/LOOLKit.cpp +++ b/loolwsd/LOOLKit.cpp @@ -906,7 +906,7 @@ private: Log::info("Loading view to document from URI: [" + uri + "] for session [" + sessionId + "]."); const auto viewId = _loKitDocument->createView(); - _loKitDocument->registerCallback(ViewCallback, reinterpret_cast<void*>(intSessionId)); + _loKitDocument->registerCallback(DocumentCallback, this); Log::info() << "Document [" << _url << "] view [" << viewId << "] loaded, leaving " _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits