| commit | 043b2900aed2f6e2c22e90710302b15afec312b4 | [log] |
|---|---|---|
| author | Tor Lillqvist <tml@collabora.com> | Mon Jun 06 10:17:46 2016 +0300 |
| committer | Tor Lillqvist <tml@collabora.com> | Mon Jun 06 10:29:27 2016 +0300 |
| tree | cbc066c88aea81c946f3c39961185443b8f2f68c | |
| parent | 3eb15d6119ff36d79aed3b8a42bac42c25afea4e [diff] |
loplugin:passstuffbyref Change-Id: Ie1cd7d63aaf2963137138def86cf5f4e141569b2
diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx index 53641a7..d10da23 100644 --- a/include/sfx2/templateabstractview.hxx +++ b/include/sfx2/templateabstractview.hxx
@@ -112,7 +112,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 a9f358b..e9656f3 100644 --- a/sfx2/source/control/templateabstractview.cxx +++ b/sfx2/source/control/templateabstractview.cxx
@@ -267,7 +267,7 @@ bool TemplateAbstractView::IsDefaultTemplate(const OUString& rPath) return false; } void TemplateAbstractView::RemoveDefaultTemplateIcon( OUString rPath) void TemplateAbstractView::RemoveDefaultTemplateIcon(const OUString& rPath) { for (ThumbnailViewItem* pItem : mItemList) {