diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-29 21:48:53 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-29 21:48:53 -0430 |
commit | 2fd593ae8a8140188da31bb4fb76f7a9baaba339 (patch) | |
tree | 6aef97c4cbe2d3fc18a5317077b76c1a67b23526 /sfx2 | |
parent | 6c0d0bc410b4c5b4c2c559bbe2247d4bbea610c0 (diff) |
Fix WaE, unused parameter.
Change-Id: I00104a446fa23da1ace696d46108bfc943ba04bf
Diffstat (limited to 'sfx2')
-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()); } } } |