summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/documentenumeration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/documentenumeration.cxx b/basctl/source/basicide/documentenumeration.cxx
index d71e02139e02..60ace06d2bac 100644
--- a/basctl/source/basicide/documentenumeration.cxx
+++ b/basctl/source/basicide/documentenumeration.cxx
@@ -117,7 +117,7 @@ namespace basctl::docs {
// create a DocumentDescriptor
DocumentDescriptor aDescriptor;
- aDescriptor.xModel = xModel;
+ aDescriptor.xModel = std::move(xModel);
lcl_getDocumentControllers_nothrow( aDescriptor );
// consult filter, if there is one