summaryrefslogtreecommitdiff
path: root/chart2/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 20:38:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-11 12:18:47 +0200
commitea014c324a9f5fff344c3fccdfcb0e5bcbe75d81 (patch)
tree9652136b3b3bfc58f3515f9e261af6a561170f7c /chart2/source/inc
parentc7f8a54e05dab430cf2f5b3e1fa90e729c7a5601 (diff)
loplugin:moveparam in chart2
Change-Id: I6a47abf80f0f45bbb55bc9e0fe817f3c3650aff3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123351 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r--chart2/source/inc/InternalData.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx
index c7407d17fb11..9d9abeb3a7c0 100644
--- a/chart2/source/inc/InternalData.hxx
+++ b/chart2/source/inc/InternalData.hxx
@@ -42,8 +42,8 @@ public:
void setColumnValues( sal_Int32 nColumnIndex, const std::vector< double > & rNewData );
void setRowValues( sal_Int32 nRowIndex, const std::vector< double > & rNewData );
- void setComplexColumnLabel( sal_Int32 nColumnIndex, const std::vector< css::uno::Any >& rComplexLabel );
- void setComplexRowLabel( sal_Int32 nRowIndex, const std::vector< css::uno::Any >& rComplexLabel );
+ void setComplexColumnLabel( sal_Int32 nColumnIndex, std::vector< css::uno::Any >&& rComplexLabel );
+ void setComplexRowLabel( sal_Int32 nRowIndex, std::vector< css::uno::Any >&& rComplexLabel );
std::vector< css::uno::Any > getComplexColumnLabel( sal_Int32 nColumnIndex ) const;
std::vector< css::uno::Any > getComplexRowLabel( sal_Int32 nRowIndex ) const;
@@ -66,9 +66,9 @@ public:
typedef std::vector< std::vector< css::uno::Any > > tVecVecAny; //inner index is hierarchical level
- void setComplexRowLabels( const tVecVecAny& rNewRowLabels );
+ void setComplexRowLabels( tVecVecAny&& rNewRowLabels );
const tVecVecAny& getComplexRowLabels() const;
- void setComplexColumnLabels( const tVecVecAny& rNewColumnLabels );
+ void setComplexColumnLabels( tVecVecAny&& rNewColumnLabels );
const tVecVecAny& getComplexColumnLabels() const;
void dump() const;