[PATCH] Improve vml path parsing to handle repeated commands

Pierre-Eric Pelloux-Prayer (via Code Review) gerrit at gerrit.libreoffice.org
Fri Oct 5 06:35:21 PDT 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/774

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/74/774/1

Improve vml path parsing to handle repeated commands

Previously commands were executed only when the parser found a
 new command in the stream. Some vml path commands can
handle repeated set of parameters, like this :
   lx1,y1,x2,y2,x3,y3,x1,y1
This patch adds support for this by executing commands when
required parameters count has been met.

Change-Id: Iab31fd267842755b81a3e228e45a8de63505fbd0
---
M oox/source/vml/vmlformatting.cxx
1 file changed, 33 insertions(+), 22 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/774
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab31fd267842755b81a3e228e45a8de63505fbd0
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>



More information about the LibreOffice mailing list