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 /include | |
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 'include')
-rw-r--r-- | include/sfx2/templatedlg.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index 12793ff9319c..fc425172f1a6 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -86,7 +86,7 @@ private: DECL_LINK_TYPED(SearchUpdateHdl, Edit&, void); - void OnTemplateImportCategory(OUString sCategory); + void OnTemplateImportCategory(const OUString& sCategory); static void OnTemplateLink (); void OnTemplateOpen (); void OnTemplateExport (); @@ -191,7 +191,7 @@ public: void HideNewCategoryOption(); - inline OUString GetSelectedCategory() const { + inline const OUString& GetSelectedCategory() const { return msSelectedCategory; }; |