From 9f958c076a86e80a48fcd7bbca65a834568e94ea Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Apr 2022 13:00:07 +0200 Subject: loplugin:passstuffbyref Change-Id: I336fd329b577b6fa141265d8bc7ce67784bd7306 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133210 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/filter/inc/SparklineFragment.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/filter/inc/SparklineFragment.hxx b/sc/source/filter/inc/SparklineFragment.hxx index d6e123036816..6ed4bad49bc5 100644 --- a/sc/source/filter/inc/SparklineFragment.hxx +++ b/sc/source/filter/inc/SparklineFragment.hxx @@ -44,7 +44,7 @@ public: { } - std::shared_ptr getSparklineGroup() { return m_pSparklineGroup; } + const std::shared_ptr& getSparklineGroup() { return m_pSparklineGroup; } std::vector& getSparklines() { return m_aSparklines; } }; -- cgit