Kaydet (Commit) 5145882f authored tarafından Caolán McNamara's avatar Caolán McNamara

pvs-studio: The 'aIndexFolderResultVector' variable is used after it was moved

Change-Id: I565f22594a371188c4a6eff5f405946ec1e04d95
Reviewed-on: https://gerrit.libreoffice.org/62061
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 993d92d5
...@@ -237,7 +237,6 @@ ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentConte ...@@ -237,7 +237,6 @@ ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentConte
} }
aIndexFolderResultVectorVector.push_back( std::move(aIndexFolderResultVector) ); aIndexFolderResultVectorVector.push_back( std::move(aIndexFolderResultVector) );
aIndexFolderResultVector.clear();
} }
catch (const Exception &e) catch (const Exception &e)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment