summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdopath.cxx
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2017-01-20 09:06:23 +0100
committerjan iversen <jani@documentfoundation.org>2017-01-23 08:16:14 +0000
commit852b29b091eeb4d4b9521b082b522c37a2a6ec16 (patch)
treeb819522278765268bec648262e1e9359f13ff7e5 /svx/source/svdraw/svdopath.cxx
parent3772c676ad6be6f424c485fd9aa0732bfeacb6bb (diff)
tdf#105266 Make LIGHTEN and DARKEN follow MS specification
Enhanced geometry of custom shapes has got commands for LIGHTEN and DARKEN of subpaths. MS specifies, that LIGHTEN is a blending with white and DARKEN is a blending with black. This patch adapts the calcuation accordingly. Change-Id: Ie46f1a1a2210c209c3fac34a7a58758b72eb276c Reviewed-on: https://gerrit.libreoffice.org/33337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'svx/source/svdraw/svdopath.cxx')
-rw-r--r--svx/source/svdraw/svdopath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index 0d8429396e3b..1d94274ae69b 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -1669,7 +1669,7 @@ sdr::contact::ViewContact* SdrPathObj::CreateObjectSpecificViewContact()
SdrPathObj::SdrPathObj(SdrObjKind eNewKind)
: meKind(eNewKind),
mpDAC(nullptr),
- mdBrightness(1.0)
+ mdBrightness(0.0)
{
bClosedObj = IsClosed();
}