diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 58d9ef0b60a8..d7c896ae9edf 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -907,7 +907,7 @@ void Printer::dispose() mpDisplayDev.disposeAndClear(); else { - // OutputDevice Dtor is trying the same thing; that why we need to set + // OutputDevice Dtor is trying the same thing; that is why we need to set // the FontEntry to NULL here // TODO: consolidate duplicate cleanup by Printer and OutputDevice mpFontInstance.clear(); @@ -916,7 +916,7 @@ void Printer::dispose() // font list deleted by OutputDevice dtor } - // Add printer from the list + // Remove printer from the list ImplSVData* pSVData = ImplGetSVData(); if ( mpPrev ) mpPrev->mpNext = mpNext; @@ -1316,7 +1316,7 @@ bool Printer::SetPaperSizeUser( const Size& rSize ) if(!bNeedToChange) { // #i122984# only need to change when Paper is different from PAPER_USER and - // the mapped Paper which will created below in the call to ImplFindPaperFormatForUserSize + // the mapped Paper which will be created below in the call to ImplFindPaperFormatForUserSize // and will replace maJobSetup.ImplGetConstData()->GetPaperFormat(). This leads to // unnecessary JobSetups, e.g. when printing a multi-page fax, but also with // normal print diff --git a/vcl/source/outdev/CoordinateMapper.cxx b/vcl/source/outdev/CoordinateMapper.cxx index d480f522b718..1d148aa91159 100644 --- a/vcl/source/outdev/CoordinateMapper.cxx +++ b/vcl/source/outdev/CoordinateMapper.cxx @@ -102,7 +102,7 @@ basegfx::B2DHomMatrix CoordinateMapper::GetDeviceTransformation() const { basegfx::B2DHomMatrix aTransformation = GetViewTransformation(); - // TODO: is it worth to cache the transformed result? + // TODO: is it worth caching the transformed result? if (mnOutOffX || mnOutOffY) aTransformation.translate(mnOutOffX, mnOutOffY); diff --git a/vcl/source/outdev/bitmapex.cxx b/vcl/source/outdev/bitmapex.cxx index 809e6b527715..3a6c700781bc 100644 --- a/vcl/source/outdev/bitmapex.cxx +++ b/vcl/source/outdev/bitmapex.cxx @@ -50,7 +50,7 @@ bool OutputDevice::TransformAndReduceBitmapExToTargetRange( return false; } - // now get discrete target pixels; start with OutDev pixel size and evtl. + // now get discrete target pixels; start with OutDev pixel size and possibly // intersect with active clipping area basegfx::B2DRange aOutPixel( 0.0, @@ -383,13 +383,13 @@ void OutputDevice::DrawTransformedBitmapEx( // get logic object target range aTargetRange.transform(rTransformation); - // get from unified/relative VisibleRange to logoc one + // get from unified/relative VisibleRange to logic one aVisibleRange.transform( basegfx::utils::createScaleTranslateB2DHomMatrix( aTargetRange.getRange(), aTargetRange.getMinimum())); - // extract point and size; do not remove size, the bitmap may have been prepared reduced by purpose + // extract point and size; do not remove size, the bitmap may have been prepared reduced on purpose // #i124580# the correct DestSize needs to be calculated based on MaxXY values const Point aDestPt(basegfx::fround(aVisibleRange.getMinX()), basegfx::fround(aVisibleRange.getMinY())); const Size aDestSize(