[Libreoffice-commits] online.git: loolwsd/LOKitHelper.hpp
Henry Castro
hcastro at collabora.com
Sat Apr 23 15:43:30 UTC 2016
loolwsd/LOKitHelper.hpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 3d8285976d88acf3d6b91d6a4f7129c7398f0cfc
Author: Henry Castro <hcastro at 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;
More information about the Libreoffice-commits
mailing list