Kaydet (Commit) 7ce02fbe authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1202759 Unchecked return value

Change-Id: I5042340f7b320f5a07e9cad4a5cc8aa90646d688
üst f73af173
...@@ -6211,8 +6211,9 @@ bool SwMSDffManager::GetOLEStorageName(long nOLEId, OUString& rStorageName, ...@@ -6211,8 +6211,9 @@ bool SwMSDffManager::GetOLEStorageName(long nOLEId, OUString& rStorageName,
wwSprmParser aSprmParser(rReader.pWwFib->GetFIBVersion()); wwSprmParser aSprmParser(rReader.pWwFib->GetFIBVersion());
while (nStartCp <= nEndCp && !nPictureId) while (nStartCp <= nEndCp && !nPictureId)
{ {
if (!pChp->SeekPos( nStartCp))
break;
WW8PLCFxDesc aDesc; WW8PLCFxDesc aDesc;
pChp->SeekPos( nStartCp );
pChp->GetSprms( &aDesc ); pChp->GetSprms( &aDesc );
if (aDesc.nSprmsLen && aDesc.pMemPos) // Attributes present if (aDesc.nSprmsLen && aDesc.pMemPos) // Attributes present
......
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