summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);