Set template name when importing.

Change-Id: I81a3ee2a8052079e95cc5a929757b06c289ba4e1
This commit is contained in:
Rafael Dominguez 2012-08-10 20:31:50 -04:30
parent 4364513def
commit 5b5c81be22

View file

@ -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);