Set template name when importing.
Change-Id: I81a3ee2a8052079e95cc5a929757b06c289ba4e1
This commit is contained in:
parent
4364513def
commit
5b5c81be22
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ void TemplateLocalView::copyFrom (TemplateLocalViewItem *pItem, const rtl::OUStr
|
|||
aTemplate.nId = nId+1;
|
||||
aTemplate.nDocId = nId;
|
||||
aTemplate.nRegionId = nRegionId;
|
||||
aTemplate.aName = mpDocTemplates->GetName(nRegionId,nId);
|
||||
aTemplate.aName = aPath;
|
||||
aTemplate.aThumbnail = TemplateAbstractView::fetchThumbnail(rPath,
|
||||
THUMBNAIL_MAX_WIDTH,
|
||||
THUMBNAIL_MAX_HEIGHT);
|
||||
|
|
Loading…
Reference in a new issue