cid#1524746 silence Using a moved object
Change-Id: I82728c481c721aeb0d70f6bbdf6f0f1b49ea7b8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150819 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -201,7 +201,8 @@ public:
|
||||
{
|
||||
// hold it alive for the lifetime of this method
|
||||
::rtl::Reference<reference_type> aTmp(std::move(m_rInnerRef));
|
||||
assert(!m_rInnerRef); // the move ctor above must take care of it
|
||||
// coverity[use_after_move : SUPPRESS] - the move ctor above must take care of it
|
||||
assert(!m_rInnerRef);
|
||||
if (aTmp.get()) {
|
||||
aTmp->disposeOnce();
|
||||
}
|
||||
|
Reference in New Issue
Block a user