diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2013-03-26 23:42:11 -0430 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2013-03-27 15:00:02 +0000 |
commit | 74af6a27f539503aa8405ad34e1d0031f080921a (patch) | |
tree | 40dcdd3ee5efa067cbed0fc453a9d2649920641b /sfx2 | |
parent | 7ae8cf64aefedb79abf98aa4c1fe421f86c0db48 (diff) |
Fix exporting selected search results in Template Manager.
Change-Id: I0716b3f2833bdcc78a67f1b0874b92a59df705f7
Reviewed-on: https://gerrit.libreoffice.org/3078
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
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 cd4b999625df..7e6525a1f720 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -900,7 +900,7 @@ void SfxTemplateManagerDlg::OnTemplateExport() OUString aPath = aPathObj.GetMainURL( INetURLObject::NO_DECODE ); - if (!maView->exportTo(pItem->mnDocId,pItem->mnRegionId+1,aPath)) + if (!maView->exportTo(pItem->mnAssocId,pItem->mnRegionId,aPath)) { if (aTemplateList.isEmpty()) aTemplateList = pItem->maTitle; |