[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 10 15:26:06 UTC 2019


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

New commits:
commit f71522e7ff7c648ed14f1ef18c2c10f8ef12d997
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Mon Dec 9 13:07:25 2019 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Dec 10 16:25:47 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 <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

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);


More information about the Libreoffice-commits mailing list