Kaydet (Commit) dd4ce342 authored tarafından Luboš Luňák's avatar Luboš Luňák

no references to temporaries

Change-Id: I6c7a7b88b64ec8c0eef8eac30ea3e6e40e271f76
üst 8bb5411c
...@@ -387,7 +387,7 @@ sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOut, ...@@ -387,7 +387,7 @@ sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOut,
BitmapEx aOutBmpEx; BitmapEx aOutBmpEx;
Point aOutPt; Point aOutPt;
Size aOutSz; Size aOutSz;
const Size& rBmpSzPix = rBmpEx.GetSizePixel(); const Size rBmpSzPix = rBmpEx.GetSizePixel();
const long nW = rBmpSzPix.Width(); const long nW = rBmpSzPix.Width();
const long nH = rBmpSzPix.Height(); const long nH = rBmpSzPix.Height();
const long nNewW = aUnrotatedSzPix.Width(); const long nNewW = aUnrotatedSzPix.Width();
...@@ -606,9 +606,8 @@ sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOut, ...@@ -606,9 +606,8 @@ sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOut,
const double fScaleX = fOutWH / fGrfWH; const double fScaleX = fOutWH / fGrfWH;
const double fScaleY = 1.0; const double fScaleY = 1.0;
const MapMode& rPrefMapMode( rMtf.GetPrefMapMode() ); const MapMode rPrefMapMode( rMtf.GetPrefMapMode() );
const Size& rSizePix( pOut->LogicToPixel( aNewSize, const Size rSizePix( pOut->LogicToPixel( aNewSize, rPrefMapMode ) );
rPrefMapMode ) );
// taking care of font width default if scaling metafile. // taking care of font width default if scaling metafile.
// #117889# use existing metafile scan, to determine whether // #117889# use existing metafile scan, to determine whether
......
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