summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-22 21:55:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-22 21:55:08 +0000
commitf42a57528f3c2a07ad302b0d6b22946ee58b77c3 (patch)
tree89528b5d858625cf3f05d4cebe74b14e98246d42
parentd608a304ecd3be4481632dbad091279abcf07a02 (diff)
wrong stream
Change-Id: I4e890ab80ed4ddb24b0fd41dae12264c99fb1477
-rw-r--r--vcl/source/filter/sgfbram.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/sgfbram.cxx b/vcl/source/filter/sgfbram.cxx
index ed2a96175991..bfd70123f276 100644
--- a/vcl/source/filter/sgfbram.cxx
+++ b/vcl/source/filter/sgfbram.cxx
@@ -323,7 +323,7 @@ bool SgfBMapFilter(SvStream& rInp, SvStream& rOut)
nFileStart=rInp.Tell();
ReadSgfHeader( rInp, aHead );
- if (!rIStream.good())
+ if (!rInp.good())
return false;
if (aHead.ChkMagic() && (aHead.Typ==SgfBitImag0 || aHead.Typ==SgfBitImag1 ||
aHead.Typ==SgfBitImag2 || aHead.Typ==SgfBitImgMo))