Commit 35a87698 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Correct stupid mistake. Very stupid mistake.

svn path=/trunk/koffice/; revision=647200
parent b39c7875
......@@ -318,7 +318,7 @@ QVector<quint8> * KoColorSpace::threadLocalConversionCache(quint32 size) const
{
QVector<quint8> * ba = 0;
if ( !d->conversionCache.hasLocalData() ) {
ba = new QVector<quint8>( '0', size );
ba = new QVector<quint8>( size, '0' );
d->conversionCache.setLocalData( ba );
}
else {
......
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