summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/uno/namecont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 0edefa1676aa..90014a790dc5 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -623,7 +623,7 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
if( aExtension == "xlc" )
{
meInitMode = CONTAINER_INIT_FILE;
- INetURLObject aLibPathInetObj( aInitUrlInetObj );
+ INetURLObject aLibPathInetObj( std::move(aInitUrlInetObj) );
aLibPathInetObj.removeSegment();
maLibraryPath = aLibPathInetObj.GetMainURL( INetURLObject::DecodeMechanism::NONE );
}