loolwsd/LOKitHelper.hpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 3d8285976d88acf3d6b91d6a4f7129c7398f0cfc
Author: Henry Castro <hcas...@collabora.com>
Date:   Sat Apr 23 11:42:12 2016 -0400

    loolwsd: send part hash codes to the client

diff --git a/loolwsd/LOKitHelper.hpp b/loolwsd/LOKitHelper.hpp
index aa4da2c..e5dde73 100644
--- a/loolwsd/LOKitHelper.hpp
+++ b/loolwsd/LOKitHelper.hpp
@@ -113,7 +113,9 @@ namespace LOKitHelper
             for (int i = 0; i < parts; i++)
             {
                 status += "\n";
-                status += loKitDocument->pClass->getPartName(loKitDocument, i);
+                status += typeString == "presentation" ?
+                          loKitDocument->pClass->getPartHash(loKitDocument, i):
+                          loKitDocument->pClass->getPartName(loKitDocument, i);
             }
         }
         return status;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to