summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-09-16 14:47:28 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-09-16 14:47:28 +0000
commit7a12710e8dcd2fca2b813debbab895bc9426e233 (patch)
treec358554797963c4eb5d98b1c11dfbcd5b5181b5f
parenttrivial: **/*.xpm: svn propset svn:eol-style native. Mark strings as const, ... (diff)
downloadinkscape-7a12710e8dcd2fca2b813debbab895bc9426e233.tar.gz
inkscape-7a12710e8dcd2fca2b813debbab895bc9426e233.zip
noop: Remove a couple of redundant casts.
(bzr r3762)
-rw-r--r--src/extension/internal/pdfinput/pdf-parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp
index b0fbfd7b5..5bf7e0fe7 100644
--- a/src/extension/internal/pdfinput/pdf-parser.cpp
+++ b/src/extension/internal/pdfinput/pdf-parser.cpp
@@ -611,7 +611,7 @@ void PdfParser::opConcat(Object args[], int numArgs) {
} 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;
@@ -1573,7 +1573,7 @@ void PdfParser::opShFill(Object args[], int numArgs) {
}
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
}