Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 83c8b89b authored by Cyrille Berger's avatar Cyrille Berger

again don't compare pointers but values

svn path=/trunk/koffice/; revision=1013409
parent 34fb4d11
......@@ -123,7 +123,7 @@ KoColor & KoColor::operator=(const KoColor & rhs)
delete [] d->data;
d->data = 0;
d->colorSpace = rhs.colorSpace();
Q_ASSERT(d->colorSpace == KoColorSpaceRegistry::instance()->permanentColorspace(d->colorSpace));
Q_ASSERT(*d->colorSpace == *KoColorSpaceRegistry::instance()->permanentColorspace(d->colorSpace));
if (rhs.d->colorSpace && rhs.d->data) {
d->data = new quint8[d->colorSpace->pixelSize()];
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