diff options
author | Niklas Johansson <sleeping.pillow@gmail.com> | 2013-03-08 16:49:46 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-03-08 18:15:48 +0100 |
commit | 390a0bf406ed5fd3bbd2c3f80d44c0bc344b95d2 (patch) | |
tree | 228b20c6599680cddd85987ce31764474761ae4b /sfx2 | |
parent | 6d29f0abb4925b865ae6a968d65abd489ab6d0bf (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
(cherry picked from commit 29fecdb19906ad4c6463d4a47de073ff36c1274c)
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 06a0dfe93a86..c5979fa22954 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -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"; |