diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-11-10 18:32:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-11-11 10:30:26 +0100 |
commit | e962819af8b9e19c651103dd288e60658dfd76e5 (patch) | |
tree | bd494bf43b9c7acacf5159105b1553a7b7caed59 /chart2 | |
parent | e9f78eda01172c7f100d6e7695aaafe2b961d565 (diff) |
Drop a counterproductive top-level const
...that was apparently left by accident by
11c4ec15f13bbcc1b7a85e966519d75e64f62c4a "use more concrete types in chart2,
Axis", thwarting the use of std::move here.
(I came across this code with an upcoming loplugin:constmove that flags
suspicious uses of std::move involving const-qualified types.)
Change-Id: I75ebadf96044ceb247f232ad9f2d27fe643a7af6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142558
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/axes/VCartesianGrid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/axes/VCartesianGrid.cxx b/chart2/source/view/axes/VCartesianGrid.cxx index 07c51d4a23b9..6cf68d0700eb 100644 --- a/chart2/source/view/axes/VCartesianGrid.cxx +++ b/chart2/source/view/axes/VCartesianGrid.cxx @@ -149,7 +149,7 @@ static void addLine3D( std::vector<std::vector<css::drawing::Position3D>>& rPoin } VCartesianGrid::VCartesianGrid( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount - , const std::vector< Reference< beans::XPropertySet > > aGridPropertiesList ) + , std::vector< Reference< beans::XPropertySet > > aGridPropertiesList ) : VAxisOrGridBase( nDimensionIndex, nDimensionCount ) , m_aGridPropertiesList( std::move(aGridPropertiesList) ) { |