include/sfx2/templateabstractview.hxx | 2 +- sfx2/source/control/templateabstractview.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 80c26f152e7930fda2a258b37e9726525027c584 Author: Tor Lillqvist <t...@collabora.com> Date: Mon Jun 6 10:17:46 2016 +0300 loplugin:passstuffbyref Change-Id: Ie1cd7d63aaf2963137138def86cf5f4e141569b2 (cherry picked from commit 043b2900aed2f6e2c22e90710302b15afec312b4) Reviewed-on: https://gerrit.libreoffice.org/26033 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Tor Lillqvist <t...@collabora.com> diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx index 33c9a74..2f235ca 100644 --- a/include/sfx2/templateabstractview.hxx +++ b/include/sfx2/templateabstractview.hxx @@ -117,7 +117,7 @@ public: long getThumbnailWidth() const { return mnThumbnailWidth;} long getThumbnailHeight() const {return mnThumbnailHeight;} - void RemoveDefaultTemplateIcon( OUString rPath); + void RemoveDefaultTemplateIcon( const OUString& rPath); static BitmapEx scaleImg (const BitmapEx &rImg, long width, long height); diff --git a/sfx2/source/control/templateabstractview.cxx b/sfx2/source/control/templateabstractview.cxx index 1d78e3f..490cfea 100644 --- a/sfx2/source/control/templateabstractview.cxx +++ b/sfx2/source/control/templateabstractview.cxx @@ -290,7 +290,7 @@ bool TemplateAbstractView::IsDefaultTemplate(const OUString& rPath) return false; } -void TemplateAbstractView::RemoveDefaultTemplateIcon( OUString rPath) +void TemplateAbstractView::RemoveDefaultTemplateIcon(const OUString& rPath) { for (ThumbnailViewItem* pItem : mItemList) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits