INTEGRATION: CWS impress143 (1.10.18); FILE MERGED

2008/05/26 12:12:24 sj 1.10.18.1: #i89579# applied patch from cmc (removed unused code)
This commit is contained in:
Vladimir Glazounov 2008-07-01 22:09:37 +00:00
parent 0a210e99ff
commit 398babcfa9

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: itga.cxx,v $
* $Revision: 1.10 $
* $Revision: 1.11 $
*
* This file is part of OpenOffice.org.
*
@ -107,7 +107,6 @@ private:
BOOL mbIndexing; // TRUE if source contains indexing color values
BOOL mbEncoding; // TRUE if source is compressed
BOOL Callback( USHORT nPercent );
BOOL ImplReadHeader();
BOOL ImplReadPalette();
BOOL ImplReadBody();
@ -141,21 +140,6 @@ TGAReader::~TGAReader()
delete mpFileFooter;
}
BOOL TGAReader::Callback( USHORT /*nPercent*/ )
{
/*
if ( pCallback != NULL )
{
if ( ( (*pCallback)( pCallerData,nPercent ) ) == TRUE )
{
mpTGA->SetError( SVSTREAM_FILEFORMAT_ERROR );
return TRUE;
}
}
*/
return FALSE;
}
// -------------------------------------------------------------------------------------------
BOOL TGAReader::ReadTGA( SvStream & rTGA, Graphic & rGraphic )