From 6d9c1b595cc989472a475874007760800d11e6b8 Mon Sep 17 00:00:00 2001 From: pjrm Date: Sun, 16 Sep 2007 14:48:36 +0000 Subject: [PATCH] noop: (SvgBuilder::setTransform): Mark argument as not being written through. --- src/extension/internal/pdfinput/svg-builder.cpp | 2 +- src/extension/internal/pdfinput/svg-builder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp index e00b37943..3d96991a6 100644 --- a/src/extension/internal/pdfinput/svg-builder.cpp +++ b/src/extension/internal/pdfinput/svg-builder.cpp @@ -557,7 +557,7 @@ void SvgBuilder::setTransform(double c0, double c1, double c2, double c3, svgSetTransform(_container, c0, c1, c2, c3, c4, c5); } -void SvgBuilder::setTransform(double *transform) { +void SvgBuilder::setTransform(double const *transform) { setTransform(transform[0], transform[1], transform[2], transform[3], transform[4], transform[5]); } diff --git a/src/extension/internal/pdfinput/svg-builder.h b/src/extension/internal/pdfinput/svg-builder.h index 96525ba2b..50ac3bb23 100644 --- a/src/extension/internal/pdfinput/svg-builder.h +++ b/src/extension/internal/pdfinput/svg-builder.h @@ -169,7 +169,7 @@ public: // Transforming void setTransform(double c0, double c1, double c2, double c3, double c4, double c5); - void setTransform(double *transform); + void setTransform(double const *transform); bool getTransform(double *transform); private: -- 2.30.2