diff options
-rw-r--r-- | sfx2/inc/sfx2/templatefolderview.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/control/templatefolderview.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/sfx2/inc/sfx2/templatefolderview.hxx b/sfx2/inc/sfx2/templatefolderview.hxx index cc7f957d2d72..44c61e084231 100644 --- a/sfx2/inc/sfx2/templatefolderview.hxx +++ b/sfx2/inc/sfx2/templatefolderview.hxx @@ -58,8 +58,7 @@ public: bool moveTemplates (std::set<const ThumbnailViewItem*> &rItems, const sal_uInt16 nTargetItem, bool bCopy); - void copyFrom (const sal_uInt16 nRegionItemId, const OUString &rName, - const BitmapEx &rThumbnail, const OUString &rPath); + void copyFrom (const sal_uInt16 nRegionItemId, const BitmapEx &rThumbnail, const OUString &rPath); void copyFrom (TemplateFolderViewItem *pItem, const rtl::OUString &rPath); diff --git a/sfx2/source/control/templatefolderview.cxx b/sfx2/source/control/templatefolderview.cxx index 657e5435865b..31d7888aa3e5 100644 --- a/sfx2/source/control/templatefolderview.cxx +++ b/sfx2/source/control/templatefolderview.cxx @@ -551,8 +551,8 @@ bool TemplateFolderView::moveTemplates(std::set<const ThumbnailViewItem *> &rIte return ret; } -void TemplateFolderView::copyFrom(const sal_uInt16 nRegionItemId, const OUString &rName, - const BitmapEx &rThumbnail, const OUString &rPath) +void TemplateFolderView::copyFrom(const sal_uInt16 nRegionItemId, const BitmapEx &rThumbnail, + const OUString &rPath) { sal_uInt16 nId = 0; sal_uInt16 nRegionId = nRegionItemId - 1; diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index fffc400b7cf1..3b327dfcb66a 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -948,7 +948,7 @@ void SfxTemplateManagerDlg::remoteMoveTo(const sal_uInt16 nMenuId) const TemplateSearchViewItem *pItem = static_cast<const TemplateSearchViewItem*>(*aIter); - maView->copyFrom(nItemId,pItem->maTitle,pItem->maPreview1,pItem->getPath()); + maView->copyFrom(nItemId,pItem->maPreview1,pItem->getPath()); } } } |