wsd/LOOLWSD.cpp |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 1a402430c6e0cb4657cdac1fc276ac118c8a6246
Author:     Jan Holesovsky <[email protected]>
AuthorDate: Mon Dec 9 13:07:25 2019 +0100
Commit:     Andras Timar <[email protected]>
CommitDate: Tue Dec 10 21:18:28 2019 +0100

    TemplateSaveAs is broken by design, let's disable it.
    
    Change-Id: I67a4c6aed1c66a8350f2b938fff7bcf1dfd84768
    Reviewed-on: https://gerrit.libreoffice.org/84740
    Reviewed-by: Andras Timar <[email protected]>
    Tested-by: Andras Timar <[email protected]>
    (cherry picked from commit f71522e7ff7c648ed14f1ef18c2c10f8ef12d997)
    Reviewed-on: https://gerrit.libreoffice.org/84865

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index f76aaabc1..faa399756 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -3074,7 +3074,9 @@ private:
         capabilities->set("convert-to", convert_to);
 
         // Supports the TemplateSaveAs in CheckFileInfo?
-        capabilities->set("hasTemplateSaveAs", true);
+        // TemplateSaveAs is broken by design, disable it everywhere (and
+        // remove at some stage too)
+        capabilities->set("hasTemplateSaveAs", false);
 
         // Supports the TemplateSource in CheckFileInfo?
         capabilities->set("hasTemplateSource", true);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to