summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a5d0423)
raw | patch | inline | side by side (parent: a5d0423)
author | pjrm <pjrm@users.sourceforge.net> | |
Sun, 16 Sep 2007 14:47:28 +0000 (14:47 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Sun, 16 Sep 2007 14:47:28 +0000 (14:47 +0000) |
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 b0fbfd7b584f71cc15779ed02427b99050558b11..5bf7e0fe700333923e17e913eb1d97a3b1cddb7f 100644 (file)
} else if (!strcmp(prevOp, "cm") || !strcmp(prevOp, "startPage")) {
// multiply it with the previous transform
double otherMatrix[6];
- if (!builder->getTransform((double*)&otherMatrix)) { // invalid transform
+ if (!builder->getTransform(otherMatrix)) { // invalid transform
// construct identity matrix
otherMatrix[0] = otherMatrix[3] = 1.0;
otherMatrix[1] = otherMatrix[2] = otherMatrix[4] = otherMatrix[5] = 0.0;
}
if (seenConcat && seenClip) {
- if (builder->getTransform((double*)&gradientTransform)) {
+ if (builder->getTransform(gradientTransform)) {
matrix = (double*)&gradientTransform;
builder->setTransform(1.0, 0.0, 0.0, 1.0, 0.0, 0.0); // remove transform
}