diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index 7049a947c26c..78484ba90457 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -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);