[Libreoffice-commits] core.git: vcl/source

Caolán McNamara caolanm at redhat.com
Sun Jan 22 21:56:39 UTC 2017


 vcl/source/filter/sgfbram.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f42a57528f3c2a07ad302b0d6b22946ee58b77c3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 22 21:55:08 2017 +0000

    wrong stream
    
    Change-Id: I4e890ab80ed4ddb24b0fd41dae12264c99fb1477

diff --git a/vcl/source/filter/sgfbram.cxx b/vcl/source/filter/sgfbram.cxx
index ed2a961..bfd7012 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))


More information about the Libreoffice-commits mailing list