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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 18 12:31:23 UTC 2018


 vcl/source/bitmap/BitmapEmbossGreyFilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 738bcd238297966de197c02efc95554a08b16c9e
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Sep 18 10:08:47 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Sep 18 14:31:02 2018 +0200

    emboss filter broken
    
    since...
    
    commit 4b183ae94821ed6d08708b43e4d719ffb4540843
    Author: Chris Sherlock <chris.sherlock79 at gmail.com>
    Date:   Fri Apr 20 21:00:46 2018 +1000
    
        vcl: ImplEmbossGrey() -> BitmapEmbossGreyFilter
    
        Change-Id: I6e541e9ca9cf61dfa8df9638a4ba4b8bd1d3ad71
        Reviewed-on: https://gerrit.libreoffice.org/53204
        Tested-by: Jenkins <ci at libreoffice.org>
        Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    
    Change-Id: If1a96d2165a3c003b9f3cb5a922d08c12156fd29
    Reviewed-on: https://gerrit.libreoffice.org/60669
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/bitmap/BitmapEmbossGreyFilter.cxx b/vcl/source/bitmap/BitmapEmbossGreyFilter.cxx
index 7b6e503ffe22..2c182463367d 100644
--- a/vcl/source/bitmap/BitmapEmbossGreyFilter.cxx
+++ b/vcl/source/bitmap/BitmapEmbossGreyFilter.cxx
@@ -145,7 +145,7 @@ BitmapEx BitmapEmbossGreyFilter::execute(BitmapEx const& rBitmapEx) const
     }
 
     if (bRet)
-        return rBitmapEx;
+        return BitmapEx(aBitmap);
 
     return BitmapEx();
 }


More information about the Libreoffice-commits mailing list