Kaydet (Commit) afdb8020 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: unused variables and misordered initialization list

Change-Id: I2f49383d5c9e097edf52776818db4e89497aca5c
üst bfcaa777
......@@ -56,10 +56,10 @@ CompressGraphicsDialog::CompressGraphicsDialog( Window* pParent, const Graphic&
m_aFixedTextDPI ( this, SVX_RES( FT_DPI ) ),
m_aLosslessRB ( this, SVX_RES( RB_LOSSLESS_COMPRESSION ) ),
m_aJpegCompRB ( this, SVX_RES( RB_JPEG_COMPRESSION ) ),
m_aCompressionMF ( this, SVX_RES( MF_COMPRESSION_FACTOR ) ),
m_aCompressionFT ( this, SVX_RES( FT_COMPRESSION ) ),
m_aQualityMF ( this, SVX_RES( MF_QUALITY_FACTOR ) ),
m_aCompressionMF ( this, SVX_RES( MF_COMPRESSION_FACTOR ) ),
m_aQualityFT ( this, SVX_RES( FT_QUALITY ) ),
m_aQualityMF ( this, SVX_RES( MF_QUALITY_FACTOR ) ),
m_aCropCB ( this, SVX_RES( CB_CROP ) ),
m_aBtnOK ( this, SVX_RES( BUTTON_CG_OK ) ),
m_aBtnCancel ( this, SVX_RES( BUTTON_CG_CANCEL ) ),
......@@ -140,9 +140,6 @@ void CompressGraphicsDialog::Update()
aViewSizeString += ( " DPI" ) ;
m_aFixedText3.SetText(aViewSizeString);
int nPixelX = (sal_Int32)((double)MetricField::ConvertValue(m_aViewSize100mm.Width(), 2, MAP_100TH_MM, FUNIT_INCH) / 100 * m_dResolution );
int nPixelY = (sal_Int32)((double)MetricField::ConvertValue(m_aViewSize100mm.Height(), 2, MAP_100TH_MM, FUNIT_INCH) / 100 * m_dResolution );
SvMemoryStream aMemStream;
aMemStream.SetVersion( SOFFICE_FILEFORMAT_CURRENT );
m_aGraphic.ExportNative(aMemStream);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment