Fix typos

Change-Id: Id0f8442ce4645d3c4987f1de2121c7581729902c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210216
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-08-29 16:27:22 +02:00
committed by Julien Nabet
parent 8ebe4b6d28
commit bfd62101a7
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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);
+3 -3
View File
@@ -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<tools::Long>(aVisibleRange.getMinX()), basegfx::fround<tools::Long>(aVisibleRange.getMinY()));
const Size aDestSize(