summaryrefslogtreecommitdiff
path: root/scripting/source/basprov/basmodnode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/basprov/basmodnode.cxx')
-rw-r--r--scripting/source/basprov/basmodnode.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripting/source/basprov/basmodnode.cxx b/scripting/source/basprov/basmodnode.cxx
index 986e3062d5cd..0ed8e91a9f97 100644
--- a/scripting/source/basprov/basmodnode.cxx
+++ b/scripting/source/basprov/basmodnode.cxx
@@ -20,6 +20,7 @@
#include "basmodnode.hxx"
#include "basmethnode.hxx"
#include <com/sun/star/script/browse/BrowseNodeTypes.hpp>
+#include <utility>
#include <vcl/svapp.hxx>
#include <basic/sbx.hxx>
#include <basic/sbmod.hxx>
@@ -40,9 +41,9 @@ namespace basprov
BasicModuleNodeImpl::BasicModuleNodeImpl( const Reference< XComponentContext >& rxContext,
- const OUString& sScriptingContext, SbModule* pModule, bool isAppScript )
+ OUString sScriptingContext, SbModule* pModule, bool isAppScript )
:m_xContext( rxContext )
- ,m_sScriptingContext( sScriptingContext )
+ ,m_sScriptingContext(std::move( sScriptingContext ))
,m_pModule( pModule )
,m_bIsAppScript( isAppScript )
{