summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VAxisBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/axes/VAxisBase.cxx')
-rw-r--r--chart2/source/view/axes/VAxisBase.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/chart2/source/view/axes/VAxisBase.cxx b/chart2/source/view/axes/VAxisBase.cxx
index ace362a9b964..f99b88236019 100644
--- a/chart2/source/view/axes/VAxisBase.cxx
+++ b/chart2/source/view/axes/VAxisBase.cxx
@@ -28,6 +28,7 @@
#include <osl/diagnose.h>
#include <memory>
+#include <utility>
namespace chart
{
@@ -36,11 +37,11 @@ using namespace ::com::sun::star::chart2;
using ::com::sun::star::uno::Reference;
VAxisBase::VAxisBase( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount
- , const AxisProperties& rAxisProperties
- , const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier )
+ , AxisProperties aAxisProperties
+ , uno::Reference< util::XNumberFormatsSupplier > xNumberFormatsSupplier )
: VAxisOrGridBase( nDimensionIndex, nDimensionCount )
- , m_xNumberFormatsSupplier( xNumberFormatsSupplier )
- , m_aAxisProperties( rAxisProperties )
+ , m_xNumberFormatsSupplier(std::move( xNumberFormatsSupplier ))
+ , m_aAxisProperties(std::move( aAxisProperties ))
, m_bUseTextLabels( false )
, m_bReCreateAllTickInfos( true )
, m_bRecordMaximumTextSize(false)