From 4630157e29f565c110f4fa11223a2d2358508c26 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 Aug 2016 12:27:49 +0100 Subject: cppcheck: passedByValue Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc --- .../source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx') diff --git a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx index 058ed68d600f..966dead7aad7 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx @@ -31,7 +31,7 @@ namespace chart namespace wrapper { -WrappedNumberFormatProperty::WrappedNumberFormatProperty( std::shared_ptr< Chart2ModelContact > spChart2ModelContact ) +WrappedNumberFormatProperty::WrappedNumberFormatProperty(const std::shared_ptr& spChart2ModelContact) : WrappedDirectStateProperty( CHART_UNONAME_NUMFMT, CHART_UNONAME_NUMFMT ) , m_spChart2ModelContact(spChart2ModelContact) { -- cgit ='distro/cib/libreoffice-5-2'>distro/cib/libreoffice-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author