Kaydet (Commit) 9924d6d6 authored tarafından Xisco Fauli's avatar Xisco Fauli

Fix issue i120716: The graphic's border size and spacing is not correct

* source/filter/ww8/ww8graf2.cxx
MS Word Binary compatibility

Patch by: Fan Zheng,<zheng.easyfan@gmail.com>
Found by: dongjun zong,<zongdj001@gmail.com>
Review by: Jian Hong Cheng,<chengjh@apache.org>(cherry picked from commit d91933a4)

Change-Id: I63faa611317b554af3d34372ea0d4c8c2cbc4bfb
üst a2951d8c
......@@ -599,11 +599,9 @@ SwFrmFmt* SwWW8ImplReader::ImportGraf(SdrTextObj* pTextObj,
aAttrSet.Put(aFlySet);
}
Rectangle aInnerDist( pRecord->nDxTextLeft,
pRecord->nDyTextTop, pRecord->nDxTextRight,
pRecord->nDyTextBottom );
//Modified for i120716,for graf importing from MS Word 2003 binary format,
//there is no border distance.
Rectangle aInnerDist(0,0,0,0);
MatchSdrItemsIntoFlySet( pObject, aAttrSet,
pRecord->eLineStyle, pRecord->eLineDashing,
pRecord->eShapeType, aInnerDist );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment