summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-22 15:59:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-03 09:50:13 +0000
commit5781e575c6d0ad38f7eb591b88d4d588351247d0 (patch)
tree84aa2f06a0babc164a18c883f56cc5501c0b5731 /include
parent86df2b436d387ff1282089267e1837f17aff5cda (diff)
Resolves: fdo#87639 Image-filter Smooth crashes
regression from commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Author: Thorsten Behrens <thb@documentfoundation.org> Date: Sun Nov 2 22:37:32 2014 +0100 coverity#1242508: swapped arguments rename the variables to indicate which are source and which are dest indexes and that the aNewBitmap argument is always, and assert that it must be, of equivalent rotated source to the Bitmap which has ImplConvolutionPass called on it. Change-Id: If9715b9f29655da66c6981c0f7cab3d89c528ed7 (cherry picked from commit 4b9ecfd4f45501e4696f966c714fc2bcc43ce38b) Reviewed-on: https://gerrit.libreoffice.org/14115 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/bitmap.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 44b62110b549..e33c2975bc01 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -808,7 +808,6 @@ public:
SAL_DLLPRIVATE bool ImplConvolutionPass(
Bitmap& aNewBitmap,
- const int nNewSize,
BitmapReadAccess* pReadAcc,
int aNumberOfContributions,
double* pWeights,