diff options
Diffstat (limited to 'sw/source/ui/vba/vbacontentcontrol.cxx')
-rw-r--r-- | sw/source/ui/vba/vbacontentcontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbacontentcontrol.cxx b/sw/source/ui/vba/vbacontentcontrol.cxx index dc4e4afc236a..9cbf097090ee 100644 --- a/sw/source/ui/vba/vbacontentcontrol.cxx +++ b/sw/source/ui/vba/vbacontentcontrol.cxx @@ -37,7 +37,7 @@ SwVbaContentControl::SwVbaContentControl(const uno::Reference<XHelperInterface>& std::shared_ptr<SwContentControl> pContentControl) : SwVbaContentControl_BASE(rParent, rContext) , mxTextDocument(xTextDocument) - , m_pCC(pContentControl) + , m_pCC(std::move(pContentControl)) { assert(m_pCC && "SwVbaContentControl created without a shared_ptr. Why would you do that?"); } |