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

Stephan Bergmann sbergman at redhat.com
Wed May 21 08:07:19 PDT 2014


 vcl/source/gdi/pdfwriter_impl.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 7aed3a008967a817ff3d58fb4bdf1c417fdbe8c0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 21 17:06:08 2014 +0200

    Remove spurious assert(false)
    
    ...inadvertently left over debug code
    
    Change-Id: I4bb9ee37ee7fd5d7e4e7f91afbcc036ba5802880

diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 4e7687c..3e083e2 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -2091,7 +2091,6 @@ bool PDFWriterImpl::compressStream( SvMemoryStream* pStream )
     pCodec.BeginCompression();
     pCodec.Write( aStream, (const sal_uInt8*)pStream->GetData(), nEndPos );
     pCodec.EndCompression();
-    assert(false);
     nEndPos = aStream.Tell();
     pStream->Seek( STREAM_SEEK_TO_BEGIN );
     aStream.Seek( STREAM_SEEK_TO_BEGIN );


More information about the Libreoffice-commits mailing list