summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-04-10 19:30:23 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-04-12 14:04:21 +0200
commitcec82db4e6fbc0fd7ea1fa032461baaf327b0b16 (patch)
tree54d82e142fa28d41095ae6b9119b483d4192d01f
parent54bb28b8ec9caaf57026e5de0c7c1d66af475415 (diff)
Related tdf#117750: fix UnsharpenFilter
Change-Id: I372bb6baae747adb3b2d2a2b8fd39d1631b074ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113927 (cherry picked from commit 3d32e6a6ccfae56f379cb1dec6dcadf9aa8fa85f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113859 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 8a75c591ef0cb017c58a7f068d1ae6571f87bd90) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113867 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--vcl/source/bitmap/BitmapSmoothenFilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/bitmap/BitmapSmoothenFilter.cxx b/vcl/source/bitmap/BitmapSmoothenFilter.cxx
index 67cea0cb3dfa..e9c135f8ec59 100644
--- a/vcl/source/bitmap/BitmapSmoothenFilter.cxx
+++ b/vcl/source/bitmap/BitmapSmoothenFilter.cxx
@@ -24,7 +24,7 @@ BitmapEx BitmapSmoothenFilter::execute(BitmapEx const& rBitmapEx) const
bRet = BitmapFilter::Filter(aBitmapEx, BitmapSeparableUnsharpenFilter(mfRadius));
if (bRet)
- return rBitmapEx;
+ return aBitmapEx;
return BitmapEx();
}