summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorJan Iversen <jani@documentfoundation.org>2016-03-08 07:52:55 +0100
committerJan Iversen <jani@documentfoundation.org>2016-03-08 07:52:55 +0100
commitc0bd26d73d438b6efc14b56231a6e7f05c8e4b92 (patch)
tree3a69905086a8f29ea038b64c6f94ba2ba27a5a55 /svgio
parentb4339fa7eee12f173b2273aed5dc6b8abae528f4 (diff)
Updated to solve problem with gerrit patch 22363
Regina posted comment on 22363, that this change was needed. Change-Id: I9021d40ee7c1ca7ca74d67c61fe58ce976da38c0
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgsvgnode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx
index 22b9fe815a61..724afa423be1 100644
--- a/svgio/source/svgreader/svgsvgnode.cxx
+++ b/svgio/source/svgreader/svgsvgnode.cxx
@@ -543,7 +543,7 @@ namespace svgio
else
{ // expand x
fH = fChildHeight;
- fW = fChildHeight / fViewBoxRatio;
+ fW = fChildHeight * fViewBoxRatio;
}
aSvgCanvasRange = basegfx::B2DRange(fLeft, fTop, fLeft + fW, fTop + fH);
}