summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-15 22:50:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-15 22:50:52 +0100
commitafdb80205679937a4d7503dc3715f39a4774a201 (patch)
treeef7113b1574aa510113ad4dae49ca69a610f789f /svx
parentbfcaa777c4a803c21208c8aeb8f2674943b243fb (diff)
WaE: unused variables and misordered initialization list
Change-Id: I2f49383d5c9e097edf52776818db4e89497aca5c
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/compressgraphicdialog.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/dialog/compressgraphicdialog.cxx b/svx/source/dialog/compressgraphicdialog.cxx
index 637af1702a5a..bc6afa6f2eaf 100644
--- a/svx/source/dialog/compressgraphicdialog.cxx
+++ b/svx/source/dialog/compressgraphicdialog.cxx
@@ -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);