Kaydet (Commit) 390a0bf4 authored tarafından Niklas Johansson's avatar Niklas Johansson Kaydeden (comit) Cédric Bosdonnat

A template it should create a new document not open in edit mode

I did a misstake in a previous patch. This patch fixes that.

Change-Id: I22c2ff8a03c5652717a8705474f2cbe3b5b9208b
(cherry picked from commit 29fecdb1)
üst 6d29f0ab
......@@ -679,7 +679,7 @@ IMPL_LINK(SfxTemplateManagerDlg, OpenTemplateHdl, ThumbnailViewItem*, pItem)
{
uno::Sequence< PropertyValue > aArgs(3);
aArgs[0].Name = "AsTemplate";
aArgs[0].Value <<= sal_False;
aArgs[0].Value <<= sal_True;
aArgs[1].Name = "MacroExecutionMode";
aArgs[1].Value <<= MacroExecMode::USE_CONFIG;
aArgs[2].Name = "UpdateDocMode";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment