~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to plugins/colorengines/lcms/LcmsColorSpace.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (c) 2002 Patrick Julien  <freak@codepimps.org>
 
3
 *  Copyright (c) 2005-2006 Casper Boemann <cbr@boemann.dk>
 
4
 *  Copyright (c) 2004,2006-2007 Cyrille Berger <cberger@cberger.net>
 
5
 *
 
6
 * This library is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU Lesser General Public
 
8
 * License as published by the Free Software Foundation; either
 
9
 * version 2 of the License, or (at your option) any later version.
 
10
 *
 
11
 * This library is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
 * Lesser General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU Lesser General Public License
 
17
 * along with this library; see the file COPYING.LIB.  If not, write to
 
18
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
19
 * Boston, MA 02110-1301, USA.
 
20
*/
 
21
 
 
22
 
 
23
#include "LcmsColorSpace.h"
 
24
#include "KoColorConversionTransformationFactory.h"
 
25
#include "KoColorModelStandardIds.h"
 
26
 
 
27
#include "DebugPigment.h"
 
28
 
 
29
cmsHPROFILE KoLcmsDefaultTransformations::s_RGBProfile = 0;
 
30
QMap< QString, QMap< LcmsColorProfileContainer*, KoLcmsDefaultTransformations* > > KoLcmsDefaultTransformations::s_transformations;
 
31
 
 
32
 
 
33
// -- LcmsColorSpaceFactory --
 
34
QList<KoColorConversionTransformationFactory*> LcmsColorSpaceFactory::colorConversionLinks() const
 
35
{
 
36
    return QList<KoColorConversionTransformationFactory*>();
 
37
}
 
38
 
 
39
KoColorProfile* LcmsColorSpaceFactory::createColorProfile(const QByteArray& rawData) const
 
40
{
 
41
    return new IccColorProfile(rawData);
 
42
}