Kaydet (Commit) 67dbf154 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#440978 Dereference before null check

Change-Id: I9a58c59932fbe164a05f5088881a11f4f2708cee
üst ac6af669
......@@ -1331,7 +1331,7 @@ bool SfxObjectShell::SaveTo_Impl
}
// TODO/LATER: error handling
if( rMedium.GetErrorCode() || !pMedium || pMedium->GetErrorCode() || GetErrorCode() )
if( rMedium.GetErrorCode() || pMedium->GetErrorCode() || GetErrorCode() )
return false;
AddLog( OUString( OSL_LOG_PREFIX "Locking" ) );
......
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