diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-04-30 21:04:42 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-05-01 11:39:35 +0200 |
commit | ff18b00ab438ca627625e263389098307dcfd1cc (patch) | |
tree | 5748240e335458c9e1befcc82fdbdaafffb32b15 | |
parent | f8472069d451ec001e602bbc5329ad030fae1219 (diff) |
Typo Pallete->Palette
Change-Id: I8a7be3738cd84699568ae2711367e49754401609
Reviewed-on: https://gerrit.libreoffice.org/71594
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | vcl/source/bitmap/BitmapScaleSuperFilter.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx index 54f22f2dc5d8..b621ebe95fa7 100644 --- a/vcl/source/bitmap/BitmapScaleSuperFilter.cxx +++ b/vcl/source/bitmap/BitmapScaleSuperFilter.cxx @@ -186,7 +186,7 @@ void scaleUp32bit(ScaleContext &rCtx, long nStartY, long nEndY) } } -void scaleUpPallete8bit(ScaleContext &rCtx, long nStartY, long nEndY) +void scaleUpPalette8bit(ScaleContext &rCtx, long nStartY, long nEndY) { const long nStartX = 0, nEndX = rCtx.mnDestW - 1; @@ -224,7 +224,7 @@ void scaleUpPallete8bit(ScaleContext &rCtx, long nStartY, long nEndY) } } -void scaleUpPalleteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) +void scaleUpPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) { const long nStartX = 0, nEndX = rCtx.mnDestW - 1; @@ -314,7 +314,7 @@ void scaleUp24bit(ScaleContext &rCtx, long nStartY, long nEndY) } } -void scaleUpNonPalleteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) +void scaleUpNonPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) { const long nStartX = 0, nEndX = rCtx.mnDestW - 1; @@ -491,7 +491,7 @@ void scaleDown32bit(ScaleContext &rCtx, long nStartY, long nEndY) } } -void scaleDownPallete8bit(ScaleContext &rCtx, long nStartY, long nEndY) +void scaleDownPalette8bit(ScaleContext &rCtx, long nStartY, long nEndY) { const long nStartX = 0, nEndX = rCtx.mnDestW - 1; @@ -616,7 +616,7 @@ void scaleDownPallete8bit(ScaleContext &rCtx, long nStartY, long nEndY) } } -void scaleDownPalleteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) +void scaleDownPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) { const long nStartX = 0, nEndX = rCtx.mnDestW - 1; @@ -876,7 +876,7 @@ void scaleDown24bit(ScaleContext &rCtx, long nStartY, long nEndY) } } -void scaleDownNonPalleteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) +void scaleDownNonPaletteGeneral(ScaleContext &rCtx, long nStartY, long nEndY) { const long nStartX = 0, nEndX = rCtx.mnDestW - 1; @@ -1086,12 +1086,12 @@ BitmapEx BitmapScaleSuperFilter::execute(BitmapEx const& rBitmap) const switch( pReadAccess->GetScanlineFormat() ) { case ScanlineFormat::N8BitPal: - pScaleRangeFn = bScaleUp ? scaleUpPallete8bit - : scaleDownPallete8bit; + pScaleRangeFn = bScaleUp ? scaleUpPalette8bit + : scaleDownPalette8bit; break; default: - pScaleRangeFn = bScaleUp ? scaleUpPalleteGeneral - : scaleDownPalleteGeneral; + pScaleRangeFn = bScaleUp ? scaleUpPaletteGeneral + : scaleDownPaletteGeneral; break; } } @@ -1102,7 +1102,7 @@ BitmapEx BitmapScaleSuperFilter::execute(BitmapEx const& rBitmap) const // a fast path, so we always need to process with a general scaler. else if (nSourceBitcount != nTargetBitcount) { - pScaleRangeFn = bScaleUp ? scaleUpNonPalleteGeneral : scaleDownNonPalleteGeneral; + pScaleRangeFn = bScaleUp ? scaleUpNonPaletteGeneral : scaleDownNonPaletteGeneral; } // If we get here then we can only use a fast path, but let's // still keep the fallback to the general scaler alive. @@ -1121,8 +1121,8 @@ BitmapEx BitmapScaleSuperFilter::execute(BitmapEx const& rBitmap) const pScaleRangeFn = bScaleUp ? scaleUp32bit : scaleDown32bit; break; default: - pScaleRangeFn = bScaleUp ? scaleUpNonPalleteGeneral - : scaleDownNonPalleteGeneral; + pScaleRangeFn = bScaleUp ? scaleUpNonPaletteGeneral + : scaleDownNonPaletteGeneral; break; } } |