summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-19 15:38:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-19 19:16:33 +0100
commit5f911c416b26f88fdb75ded501c98f1b8738cec2 (patch)
treeca49a2ed7b71d196f2b8ab9b537d28d94720d5a6 /sw/source
parent6561a048c317f706b39f62bf8e727bcdf23e621e (diff)
CID1078820 has already been dereferenced on all paths leading to the check
Change-Id: I5210d67259d445f6e7f52f176cd67af82d687e37
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 8e3e9b5fbb48..50354b3abfa5 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -5747,8 +5747,10 @@ sal_uLong WW8Reader::Read(SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPam, co
refStrm->SetBufferSize( nOldBuffSize );
refStrm.Clear();
}
- else if (pIn)
+ else
+ {
pIn->ResetError();
+ }
}
return nRet;