summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbavariable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbavariable.cxx')
-rw-r--r--sw/source/ui/vba/vbavariable.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbavariable.cxx b/sw/source/ui/vba/vbavariable.cxx
index 525225c675b3..dea82686e1b3 100644
--- a/sw/source/ui/vba/vbavariable.cxx
+++ b/sw/source/ui/vba/vbavariable.cxx
@@ -19,13 +19,14 @@
#include "vbavariable.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
+#include <utility>
using namespace ::ooo::vba;
using namespace ::com::sun::star;
SwVbaVariable::SwVbaVariable( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext,
- const uno::Reference< beans::XPropertyAccess >& rUserDefined, const OUString& rVariableName ) :
- SwVbaVariable_BASE( rParent, rContext ), mxUserDefined( rUserDefined ), maVariableName( rVariableName )
+ uno::Reference< beans::XPropertyAccess > xUserDefined, OUString aVariableName ) :
+ SwVbaVariable_BASE( rParent, rContext ), mxUserDefined(std::move( xUserDefined )), maVariableName(std::move( aVariableName ))
{
}