kit/KitHelper.hpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ab1fc4c7b3d7a27abe1909e54f51de0e998b4dad
Author:     Tomaž Vajngerl <[email protected]>
AuthorDate: Wed Jun 24 21:25:12 2020 +0200
Commit:     Tomaž Vajngerl <[email protected]>
CommitDate: Sun Jun 28 00:37:24 2020 +0200

    Also send parthash info when using draw (in case of PDF)
    
    Parts hashes were only sent for impress but we also need it for
    draw (PDF) so that the annostions/comments start to work.
    
    Change-Id: I8668c67cd9ae6ab0b5a3bda3eb5f784499a41927
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97332
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Tomaž Vajngerl <[email protected]>

diff --git a/kit/KitHelper.hpp b/kit/KitHelper.hpp
index 2c8db05ba..07b33750b 100644
--- a/kit/KitHelper.hpp
+++ b/kit/KitHelper.hpp
@@ -61,7 +61,7 @@ namespace LOKitHelper
             << " height=" << height
             << " viewid=" << loKitDocument->pClass->getView(loKitDocument);
 
-        if (type == LOK_DOCTYPE_SPREADSHEET || type == 
LOK_DOCTYPE_PRESENTATION)
+        if (type == LOK_DOCTYPE_SPREADSHEET || type == 
LOK_DOCTYPE_PRESENTATION || type == LOK_DOCTYPE_DRAWING)
         {
             std::ostringstream hposs;
             std::ostringstream sposs;
@@ -108,7 +108,7 @@ namespace LOKitHelper
                 std::free(ptrValue);
             }
 
-            if (type == LOK_DOCTYPE_PRESENTATION)
+            if (type == LOK_DOCTYPE_PRESENTATION || type == 
LOK_DOCTYPE_DRAWING)
             {
                 for (int i = 0; i < parts; ++i)
                 {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to