[Libreoffice-commits] core.git: filter/source
fxwan
wanliyou at gmail.com
Sun Sep 3 00:17:09 UTC 2017
filter/source/svg/presentation_engine.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b6670e95ed41794bdade85bf2728b26fc7083e81
Author: fxwan <wanliyou at gmail.com>
Date: Mon May 15 19:18:08 2017 +0800
svg.js: fix undefined variable
Change-Id: I9f79d400e78e42b47ebb4078e2618789c34da85a
Reviewed-on: https://gerrit.libreoffice.org/37640
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js
index f6db576a898b..7dbe377697dd 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -1532,7 +1532,7 @@ function configureDetectionTools()
return flag;
};
- Source.prototype.parseSegment = function() {
+ Source.prototype.parseSegment = function(owningPathSegList) {
var lookahead = this._string[this._currentIndex];
var command = this._pathSegTypeFromChar(lookahead);
if (command == SVGPathSeg.PATHSEG_UNKNOWN) {
@@ -1638,7 +1638,7 @@ function configureDetectionTools()
return [];
var builder = new Builder();
while (source.hasMoreData()) {
- var pathSeg = source.parseSegment();
+ var pathSeg = source.parseSegment(owningPathSegList);
if (!pathSeg)
return [];
builder.appendSegment(pathSeg);
More information about the Libreoffice-commits
mailing list