masterfix: #i10000# use SvMemoryStream::GetEndOfData() instead of SvMemoryStream::GetSize()

This commit is contained in:
Kurt Zenker 2010-01-18 15:24:16 +01:00
parent c979003e3c
commit 7f5f6c30e8

View file

@ -293,7 +293,7 @@ static bool RenderAsPNGThroughHelper(const sal_uInt8* pBuf, sal_uInt32 nBytesRea
aMemStm.Seek(0);
if (
aMemStm.GetSize() &&
aMemStm.GetEndOfData() &&
GraphicConverter::Import(aMemStm, rGraphic, CVT_PNG) == ERRCODE_NONE
)
{