Kaydet (Commit) 6e3d5efd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: I395fc9cbdd90ead54ef3007df97453b76d1101a7
üst 1db81a3e
...@@ -2739,7 +2739,7 @@ namespace ...@@ -2739,7 +2739,7 @@ namespace
aFontSize = Size(0, 16); aFontSize = Size(0, 16);
// convert to target MapUnit if not pixels // convert to target MapUnit if not pixels
aFontSize = Application::GetDefaultDevice()->LogicToLogic( aFontSize = OutputDevice::LogicToLogic(
aFontSize, MAP_PIXEL, rPropertyHolders.Current().getMapUnit()); aFontSize, MAP_PIXEL, rPropertyHolders.Current().getMapUnit());
aCorrectedFont.SetSize(aFontSize); aCorrectedFont.SetSize(aFontSize);
......
...@@ -824,7 +824,7 @@ namespace drawinglayer ...@@ -824,7 +824,7 @@ namespace drawinglayer
{ {
const MapMode aMapMode100thmm(MAP_100TH_MM); const MapMode aMapMode100thmm(MAP_100TH_MM);
const Size aBitmapSize(Application::GetDefaultDevice()->LogicToLogic( const Size aBitmapSize(OutputDevice::LogicToLogic(
rGraphicPrimitive.getGraphicObject().GetPrefSize(), rGraphicPrimitive.getGraphicObject().GetPrefSize(),
rGraphicPrimitive.getGraphicObject().GetPrefMapMode(), aMapMode100thmm)); rGraphicPrimitive.getGraphicObject().GetPrefMapMode(), aMapMode100thmm));
const double fDivX(aBitmapSize.Width() - rAttr.GetLeftCrop() - rAttr.GetRightCrop()); const double fDivX(aBitmapSize.Width() - rAttr.GetLeftCrop() - rAttr.GetRightCrop());
...@@ -914,7 +914,7 @@ namespace drawinglayer ...@@ -914,7 +914,7 @@ namespace drawinglayer
pPDFControl->Location = aRectLogic; pPDFControl->Location = aRectLogic;
Size aFontSize(pPDFControl->TextFont.GetSize()); Size aFontSize(pPDFControl->TextFont.GetSize());
aFontSize = mpOutputDevice->LogicToLogic(aFontSize, MapMode(MAP_POINT), mpOutputDevice->GetMapMode()); aFontSize = OutputDevice::LogicToLogic(aFontSize, MapMode(MAP_POINT), mpOutputDevice->GetMapMode());
pPDFControl->TextFont.SetSize(aFontSize); pPDFControl->TextFont.SetSize(aFontSize);
mpPDFExtOutDevData->BeginStructureElement(vcl::PDFWriter::Form); mpPDFExtOutDevData->BeginStructureElement(vcl::PDFWriter::Form);
......
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