Skip to content

Commit

Permalink
TemplateSaveAs is broken by design, let's disable it.
Browse files Browse the repository at this point in the history
Change-Id: I67a4c6aed1c66a8350f2b938fff7bcf1dfd84768
Reviewed-on: https://gerrit.libreoffice.org/84740
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
  • Loading branch information
kendy authored and timar committed Dec 10, 2019
1 parent 1ff820d commit f71522e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wsd/LOOLWSD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3074,7 +3074,9 @@ class ClientRequestDispatcher : public SocketHandlerInterface
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);
Expand Down

0 comments on commit f71522e

Please sign in to comment.