diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2022-04-20 19:44:05 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-04-22 16:13:54 +0200 |
commit | 547ac0aa23a25f03a17014cb474eedc1fd88017f (patch) | |
tree | 50792210e32f51d12fa558830c53f8b8d2040e7b /svx | |
parent | af0955d600cd3d54d26a87b9ff30e3c402a226dd (diff) |
tdf#55058 tdf#143875 EMF+ Fix display of dashed lines and line joints
With previous implementation, empty spaces between dashes
were too long.
Additionally line joints were not working correctly, after
EMF+ reworking: tdf#111486
This commit fixes all these issues and additionally it is
covering it with tests.
Change-Id: I9404e566d2d7d3405ab817268ad9b1f538c200eb
Change-Id: I523f92a928ab592ff175d0d01c1ad1a3bc22e324
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133207
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
(cherry picked from commit 80c856336668e35837667323957fa3ad4172f3c0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133152
Diffstat (limited to 'svx')
-rw-r--r-- | svx/qa/unit/svdraw.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/qa/unit/svdraw.cxx b/svx/qa/unit/svdraw.cxx index cab6b56b0ae7..ae673af298b3 100644 --- a/svx/qa/unit/svdraw.cxx +++ b/svx/qa/unit/svdraw.cxx @@ -338,7 +338,8 @@ CPPUNIT_TEST_FIXTURE(SvdrawTest, testRectangleObject) assertXPathContent(pXmlDoc, aBasePath + "/polygon", "49.5,99 0,99 0,0 99,0 99,99"); - assertXPath(pXmlDoc, aBasePath + "/stroke", "fulldotdashlen", "0"); + // If solid line, then there is no line stroke information + assertXPath(pXmlDoc, aBasePath + "/stroke", 0); pPage->RemoveObject(0); |