[PATCH] vml import: only apply width-percent attribute if it's != 0

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/775

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/75/775/1

vml import: only apply width-percent attribute if it's != 0

This fixes an issue with a shape defined with these attributes:
mso-width-percent:0;mso-height-percent:0 and
mso-width-relative:page;mso-height-relative:page;
where all points were then located in (0,0)

Change-Id: I51070ad2b2e4e05ab64f16813472ca1d7099fb09
---
M oox/source/vml/vmlshape.cxx
1 file changed, 6 insertions(+), 2 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I51070ad2b2e4e05ab64f16813472ca1d7099fb09
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