summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2022-04-20 19:44:05 +0200
committerBartosz Kosiorek <gang65@poczta.onet.pl>2022-04-21 10:30:26 +0200
commit80c856336668e35837667323957fa3ad4172f3c0 (patch)
tree09a27e37c0940717a1ad3ab343d73ff762d9316d /compilerplugins
parent59393b73ec4c0f1f1965a9c24a2635780c707189 (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>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/redundantfcast.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/redundantfcast.cxx b/compilerplugins/clang/redundantfcast.cxx
index be9565c9fbe8..1378d9eaf435 100644
--- a/compilerplugins/clang/redundantfcast.cxx
+++ b/compilerplugins/clang/redundantfcast.cxx
@@ -335,6 +335,9 @@ public:
// tdf#145203: FIREBIRD cannot create a table
if (fn == SRCDIR "/connectivity/source/drivers/firebird/DatabaseMetaData.cxx")
return false;
+ // false positive during using contructor drawinglayer::attribute::StrokeAttribute({ 3 * pw, pw })
+ if (fn == SRCDIR "/drawinglayer/source/tools/emfppen.cxx")
+ return false;
return true;
}