[Libreoffice-commits] core.git: svgio/source
Jan Iversen
jani at documentfoundation.org
Tue Mar 8 07:03:40 UTC 2016
svgio/source/svgreader/svgsvgnode.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c0bd26d73d438b6efc14b56231a6e7f05c8e4b92
Author: Jan Iversen <jani at documentfoundation.org>
Date: Tue Mar 8 07:52:55 2016 +0100
Updated to solve problem with gerrit patch 22363
Regina posted comment on 22363, that this change was needed.
Change-Id: I9021d40ee7c1ca7ca74d67c61fe58ce976da38c0
diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx
index 22b9fe8..724afa4 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);
}
More information about the Libreoffice-commits
mailing list