vcl/source/bitmap/bitmappaint.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit da71f806ad09ace88c509a9af7346f0e3f29b744 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Dec 9 19:50:02 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Dec 10 10:36:24 2020 +0100 tdf#138450 BitmapEx.Replace() is not working since... commit abd42bdc86904d1b310e8298393c887e0c195499 Date: Thu Nov 12 14:50:16 2020 +0200 tools::Long->sal_Int32 in vcl filters Change-Id: I4a74416547f35a9b5b3fe606de6938245d3ec6c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107482 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/bitmap/bitmappaint.cxx b/vcl/source/bitmap/bitmappaint.cxx index 49713869069b..95a6b0af6a3e 100644 --- a/vcl/source/bitmap/bitmappaint.cxx +++ b/vcl/source/bitmap/bitmappaint.cxx @@ -926,12 +926,12 @@ bool Bitmap::Replace(const Color* pSearchColors, const Color* pReplaceColors, sa if (pAcc) { - std::unique_ptr<sal_Int8[]> pMinR(new sal_Int8[nColorCount]); - std::unique_ptr<sal_Int8[]> pMaxR(new sal_Int8[nColorCount]); - std::unique_ptr<sal_Int8[]> pMinG(new sal_Int8[nColorCount]); - std::unique_ptr<sal_Int8[]> pMaxG(new sal_Int8[nColorCount]); - std::unique_ptr<sal_Int8[]> pMinB(new sal_Int8[nColorCount]); - std::unique_ptr<sal_Int8[]> pMaxB(new sal_Int8[nColorCount]); + std::unique_ptr<int[]> pMinR(new int[nColorCount]); + std::unique_ptr<int[]> pMaxR(new int[nColorCount]); + std::unique_ptr<int[]> pMinG(new int[nColorCount]); + std::unique_ptr<int[]> pMaxG(new int[nColorCount]); + std::unique_ptr<int[]> pMinB(new int[nColorCount]); + std::unique_ptr<int[]> pMaxB(new int[nColorCount]); if (pTols) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits