diff options
Diffstat (limited to 'chart2/source/view/main/LabelPositionHelper.cxx')
-rw-r--r-- | chart2/source/view/main/LabelPositionHelper.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/view/main/LabelPositionHelper.cxx b/chart2/source/view/main/LabelPositionHelper.cxx index e39bc04952e0..449c5776e4d7 100644 --- a/chart2/source/view/main/LabelPositionHelper.cxx +++ b/chart2/source/view/main/LabelPositionHelper.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/drawing/TextHorizontalAdjust.hpp> #include <cmath> +#include <utility> namespace chart { @@ -34,9 +35,9 @@ using namespace ::com::sun::star::chart2; LabelPositionHelper::LabelPositionHelper( sal_Int32 nDimensionCount - , const rtl::Reference<SvxShapeGroupAnyD>& xLogicTarget) + , rtl::Reference<SvxShapeGroupAnyD> xLogicTarget) : m_nDimensionCount(nDimensionCount) - , m_xLogicTarget(xLogicTarget) + , m_xLogicTarget(std::move(xLogicTarget)) { } |