Commit 6792b0f3 authored by Adrian Page's avatar Adrian Page

Composite op colourspace must match the data we're working with.


svn path=/trunk/koffice/; revision=658793
parent 2ff27f00
......@@ -231,6 +231,8 @@ void KoColorSpace::bitBlt(quint8 *dst,
const KoCompositeOp * op,
const QBitArray & channelFlags) const
{
Q_ASSERT(op->colorSpace() == this);
if (rows <= 0 || cols <= 0)
return;
......@@ -280,6 +282,8 @@ void KoColorSpace::bitBlt(quint8 *dst,
qint32 cols,
const KoCompositeOp * op) const
{
Q_ASSERT(op->colorSpace() == this);
if (rows <= 0 || cols <= 0)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment