summaryrefslogtreecommitdiffstats
path: root/src/viewbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewbox.cpp')
-rw-r--r--src/viewbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/viewbox.cpp b/src/viewbox.cpp
index 6d677d57d..662b05686 100644
--- a/src/viewbox.cpp
+++ b/src/viewbox.cpp
@@ -164,6 +164,7 @@ void SPViewBox::set_preserveAspectRatio(const gchar* value) {
void SPViewBox::apply_viewbox(const Geom::Rect& in) {
/* Determine actual viewbox in viewport coordinates */
+ /* These are floats since SVGLength is a float: See bug 1374614 */
float x = 0.0;
float y = 0.0;
float width = in.width();