[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/pigment
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2010-03-29 20:13:31
Message-ID: 20100329201331.F1128AC887 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1108808 by rempt:
Add an assert
We're going to dereference this pointer any second now, it had
better be good.
M +1 -0 KoColorSpaceFactory.cpp
--- trunk/koffice/libs/pigment/KoColorSpaceFactory.cpp #1108807:1108808
@@ -85,6 +85,7 @@
KoColorSpace* KoColorSpaceFactory::grabColorSpace(const KoColorProfile * profile)
{
+ Q_ASSERT(profile);
QList<KoColorSpace*>& csList = d->availableColorspaces[profile->name()];
if (!csList.isEmpty()) {
KoColorSpace* cs = csList.back();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic