WaE: unused variable 'aResult'
Change-Id: Ibd50c0a7af300a2d60919e24fe09e6f1c74c0851
This commit is contained in:
parent
d927a3cc49
commit
4597296276
1 changed files with 10 additions and 5 deletions
|
@ -126,13 +126,18 @@ sal_Bool SAL_CALL GraphicExportFilter::filter( const Sequence<PropertyValue>& rD
|
|||
SvMemoryStream aMemStream;
|
||||
const GraphicConversionParameters aParameters(aTargetSizePixel, true, true);
|
||||
|
||||
sal_uInt16 aResult = rFilter.ExportGraphic( aGraphic.GetBitmapEx(aParameters), String(), aMemStream, nFilterFormat, &aFilterData );
|
||||
const sal_uInt16 nResult = rFilter.ExportGraphic( aGraphic.GetBitmapEx(aParameters), String(), aMemStream, nFilterFormat, &aFilterData );
|
||||
|
||||
SvOutputStream aOutputStream( mxOutputStream );
|
||||
aMemStream.Seek(0);
|
||||
aOutputStream << aMemStream;
|
||||
if ( nResult == GRFILTER_OK )
|
||||
{
|
||||
SvOutputStream aOutputStream( mxOutputStream );
|
||||
aMemStream.Seek(0);
|
||||
aOutputStream << aMemStream;
|
||||
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void SAL_CALL GraphicExportFilter::cancel( ) throw (RuntimeException)
|
||||
|
|
Loading…
Reference in a new issue