[Libreoffice-commits] core.git: vcl/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat Apr 10 18:24:44 UTC 2021


 vcl/source/bitmap/BitmapSepiaFilter.cxx    |    2 +-
 vcl/source/bitmap/BitmapSolarizeFilter.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f3151e62bcc7cb66313df70a2ec8eed8ca8f2c88
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Apr 10 19:09:41 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Apr 10 20:24:00 2021 +0200

    Related tdf#117750: fix "Solarization" and "Aging"
    
    For solarization, regression from:
    https://cgit.freedesktop.org/libreoffice/core/commit/?id=c38485279cd36da96ac81107d567ea4e779b2b96
    author  Chris Sherlock <chris.sherlock79 at gmail.com>     2018-04-20 20:27:41 +1000
    committer       Tomaž Vajngerl <quikee at gmail.com>       2018-04-22 05:33:11 +0200
    commit  c38485279cd36da96ac81107d567ea4e779b2b96 (patch)
    tree    ad9843a17f87271f9e0cf89643e2e6c3ee8a8de1
    parent  bcbf767bcfc024e2be839e0c0886f942dd068e4f (diff)
    vcl: ImplSolarize() to BitmapSolarizeFilter
    
    For aging, regression from:
    https://cgit.freedesktop.org/libreoffice/core/commit/?id=1ab12471f3a69c4d502e6271e84ddf8a981f507f
    author  Chris Sherlock <chris.sherlock79 at gmail.com>     2018-04-20 20:32:23 +1000
    committer       Tomaž Vajngerl <quikee at gmail.com>       2018-04-22 05:33:39 +0200
    commit  1ab12471f3a69c4d502e6271e84ddf8a981f507f (patch)
    tree    6652276229ad1c3ffca48f7a31e1b77d2ea04b07
    parent  c38485279cd36da96ac81107d567ea4e779b2b96 (diff)
    vcl: ImplSepia -> BitmapSepiaFilter
    
    Change-Id: I4f350aa8b494caf55c9c810ac7fa9ed8db349725
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113926
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/vcl/source/bitmap/BitmapSepiaFilter.cxx b/vcl/source/bitmap/BitmapSepiaFilter.cxx
index e7a56080a8cc..17fd36e4f924 100644
--- a/vcl/source/bitmap/BitmapSepiaFilter.cxx
+++ b/vcl/source/bitmap/BitmapSepiaFilter.cxx
@@ -102,7 +102,7 @@ BitmapEx BitmapSepiaFilter::execute(BitmapEx const& rBitmapEx) const
     }
 
     if (bRet)
-        return rBitmapEx;
+        return BitmapEx(aBitmap);
 
     return BitmapEx();
 }
diff --git a/vcl/source/bitmap/BitmapSolarizeFilter.cxx b/vcl/source/bitmap/BitmapSolarizeFilter.cxx
index 724e28bde2ac..667d50a00252 100644
--- a/vcl/source/bitmap/BitmapSolarizeFilter.cxx
+++ b/vcl/source/bitmap/BitmapSolarizeFilter.cxx
@@ -63,7 +63,7 @@ BitmapEx BitmapSolarizeFilter::execute(BitmapEx const& rBitmapEx) const
     }
 
     if (bRet)
-        return rBitmapEx;
+        return BitmapEx(aBitmap);
 
     return BitmapEx();
 }


More information about the Libreoffice-commits mailing list