summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e318e24)
raw | patch | inline | side by side (parent: e318e24)
author | Diederik van Lierop <mailat-signdiedenrezidotnl> | |
Fri, 25 Dec 2009 09:14:47 +0000 (10:14 +0100) | ||
committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | |
Fri, 25 Dec 2009 09:14:47 +0000 (10:14 +0100) |
src/extension/internal/pdfinput/pdf-parser.cpp | patch | blob | history |
diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp
index a32f1a67fb0eacea86b411ee716079edcbf5b4c9..118896fd30318d74881f4d97a1a273ee592bc1ed 100644 (file)
blendingColorSpace = NULL;
isolated = knockout = gFalse;
if (!obj4.dictLookup(const_cast<char*>("CS"), &obj5)->isNull()) {
- blendingColorSpace = GfxColorSpace::parse(&obj5,(Gfx*)this);
+ blendingColorSpace = GfxColorSpace::parse(&obj5);
}
obj5.free();
if (obj4.dictLookup(const_cast<char*>("I"), &obj5)->isBool()) {
state->setFillPattern(NULL);
res->lookupColorSpace(args[0].getName(), &obj);
if (obj.isNull()) {
- colorSpace = GfxColorSpace::parse(&args[0],(Gfx*)this);
+ colorSpace = GfxColorSpace::parse(&args[0]);
} else {
- colorSpace = GfxColorSpace::parse(&obj,(Gfx*)this);
+ colorSpace = GfxColorSpace::parse(&obj);
}
obj.free();
if (colorSpace) {
state->setStrokePattern(NULL);
res->lookupColorSpace(args[0].getName(), &obj);
if (obj.isNull()) {
- colorSpace = GfxColorSpace::parse(&args[0],(Gfx*)this);
+ colorSpace = GfxColorSpace::parse(&args[0]);
} else {
- colorSpace = GfxColorSpace::parse(&obj,(Gfx*)this);
+ colorSpace = GfxColorSpace::parse(&obj);
}
obj.free();
if (colorSpace) {
builder->updateStyle(state);
}
if (args[numArgs-1].isName() &&
- (pattern = res->lookupPattern(args[numArgs-1].getName(),(Gfx*)this))) {
+ (pattern = res->lookupPattern(args[numArgs-1].getName()))) {
state->setFillPattern(pattern);
builder->updateStyle(state);
}
builder->updateStyle(state);
}
if (args[numArgs-1].isName() &&
- (pattern = res->lookupPattern(args[numArgs-1].getName(),(Gfx*)this))) {
+ (pattern = res->lookupPattern(args[numArgs-1].getName()))) {
state->setStrokePattern(pattern);
builder->updateStyle(state);
}
double *matrix = NULL;
GBool savedState = gFalse;
- if (!(shading = res->lookupShading(args[0].getName(),(Gfx*)this))) {
+ if (!(shading = res->lookupShading(args[0].getName()))) {
return;
}
}
}
if (!obj1.isNull()) {
- colorSpace = GfxColorSpace::parse(&obj1,(Gfx*)this);
+ colorSpace = GfxColorSpace::parse(&obj1);
} else if (csMode == streamCSDeviceGray) {
colorSpace = new GfxDeviceGrayColorSpace();
} else if (csMode == streamCSDeviceRGB) {
obj2.free();
}
}
- maskColorSpace = GfxColorSpace::parse(&obj1,(Gfx*)this);
+ maskColorSpace = GfxColorSpace::parse(&obj1);
obj1.free();
if (!maskColorSpace || maskColorSpace->getMode() != csDeviceGray) {
goto err1;
if (obj1.dictLookup(const_cast<char*>("S"), &obj2)->isName(const_cast<char*>("Transparency"))) {
transpGroup = gTrue;
if (!obj1.dictLookup(const_cast<char*>("CS"), &obj3)->isNull()) {
- blendingColorSpace = GfxColorSpace::parse(&obj3,(Gfx*)this);
+ blendingColorSpace = GfxColorSpace::parse(&obj3);
}
obj3.free();
if (obj1.dictLookup(const_cast<char*>("I"), &obj3)->isBool()) {