diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-21 09:16:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-21 07:17:36 +0000 |
commit | da03b62bb4d44ad1410a4dff15f97bacd55fb99b (patch) | |
tree | f194b5a7123be68ae89b9f978408b296bd38ccb4 /sfx2 | |
parent | fcec7522c15c9c7c70244320b8e21380498322ec (diff) |
loplugin:passstuffbyref
Change-Id: I60dd37a3dbac8b82c115290f2f3a9e8440a1cba6
Reviewed-on: https://gerrit.libreoffice.org/25250
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index da92be39d575..14f89a71b614 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -891,7 +891,7 @@ void SfxTemplateManagerDlg::OnTemplateState (const ThumbnailViewItem *pItem) } } -void SfxTemplateManagerDlg::OnTemplateImportCategory(OUString sCategory) +void SfxTemplateManagerDlg::OnTemplateImportCategory(const OUString& sCategory) { sal_Int16 nDialogType = css::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE; |