summaryrefslogtreecommitdiff
path: root/include/sfx2/minfitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-14 10:12:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-14 15:38:12 +0200
commit8c15ccc2671d93b06c00730d03b441f3466984d4 (patch)
tree55e7a129b2a431555009e1f4446dbbc3a0c5ce20 /include/sfx2/minfitem.hxx
parenta5d3238104a46f933584cc2a896b00bae82bf4ec (diff)
clang-tidy modernize-pass-by-value in sfx2
Change-Id: I7984f0b52809091511dc01005fdbfeafd521b4bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137048 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/minfitem.hxx')
-rw-r--r--include/sfx2/minfitem.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/minfitem.hxx b/include/sfx2/minfitem.hxx
index ce6f8b25a3dc..c89705726e20 100644
--- a/include/sfx2/minfitem.hxx
+++ b/include/sfx2/minfitem.hxx
@@ -41,10 +41,10 @@ public:
static SfxPoolItem* CreateDefault();
SfxMacroInfoItem( sal_uInt16 nWhich,
const BasicManager* pMgr,
- const OUString &rLibName,
- const OUString &rModuleName,
- const OUString &rMethodName,
- const OUString &rComment);
+ OUString aLibName,
+ OUString aModuleName,
+ OUString aMethodName,
+ OUString aComment);
virtual SfxMacroInfoItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual bool operator==( const SfxPoolItem& ) const override;