diff options
author | Kai Ahrens <ka@openoffice.org> | 2002-04-04 08:29:59 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2002-04-04 08:29:59 +0000 |
commit | 6c11246ad32ba7a3d683f01ac8ccd3b87eb2f396 (patch) | |
tree | 8b63c0d9a63edaf8feabb4e9a10a0ee75771bdc5 /svtools/bmpmaker | |
parent | 835219840d42cfb891614db2ed7bf0386293468a (diff) |
#98312#: don't abort, if bitmap is not found
Diffstat (limited to 'svtools/bmpmaker')
-rw-r--r-- | svtools/bmpmaker/bmpcore.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/bmpmaker/bmpcore.cxx b/svtools/bmpmaker/bmpcore.cxx index bcc013c33ee0..883cf50d32e1 100644 --- a/svtools/bmpmaker/bmpcore.cxx +++ b/svtools/bmpmaker/bmpcore.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bmpcore.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: ka $ $Date: 2002-04-02 12:31:59 $ + * last change: $Author: ka $ $Date: 2002-04-04 09:29:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -276,7 +276,7 @@ void BmpCreator::ImplCreate( SvStream& rStm, const DirEntry& rIn, const DirEntry const Size aSize( aBmp.GetSizePixel() ); if( !aSize.Width() || !aSize.Height() ) - Message( String( RTL_CONSTASCII_USTRINGPARAM( "WARNING: Bitmap is missing: " ) ).Append( aString ), EXIT_MISSING_BITMAP ); + Message( String( RTL_CONSTASCII_USTRINGPARAM( "WARNING: Bitmap is missing: " ) ).Append( aString )/*, EXIT_MISSING_BITMAP*/ ); else { if( aTotalBmp.IsEmpty() ) @@ -288,9 +288,9 @@ void BmpCreator::ImplCreate( SvStream& rStm, const DirEntry& rIn, const DirEntry } if( ( aSize.Width() > aOneSize.Width() ) || ( aSize.Height() > aOneSize.Height() ) ) - Message( String( RTL_CONSTASCII_USTRINGPARAM( "ERROR: Different dimensions in file: " ) ).Append( aString ), EXIT_DIMENSIONERROR ); + Message( String( RTL_CONSTASCII_USTRINGPARAM( "ERROR: Different dimensions in file: " ) ).Append( aString )/*, EXIT_DIMENSIONERROR*/ ); else if( aBmp.GetBitCount() != aTotalBmp.GetBitCount() ) - Message( String( RTL_CONSTASCII_USTRINGPARAM( "ERROR: Different color depth in file: ") ).Append( aString ), EXIT_COLORDEPTHERROR ); + Message( String( RTL_CONSTASCII_USTRINGPARAM( "ERROR: Different color depth in file: ") ).Append( aString )/*, EXIT_COLORDEPTHERROR*/ ); else { Point aPoint; |