summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2013-03-08 16:49:46 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-03-08 18:14:32 +0100
commit29fecdb19906ad4c6463d4a47de073ff36c1274c (patch)
treedb7eff99eb6c1577e25192b947efecc11580a8d2
parent709616cdb1ae8458249384b4c0718bbe5c0cf976 (diff)
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
-rw-r--r--sfx2/source/doc/templatedlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index fa7b52be50fe..7041966afb96 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -678,7 +678,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";