sc/source/ui/view/output.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 437a45c90c3776ace431bbda9539b1166ca0b11f
Author: Markus Mohrhard <[email protected]>
Date:   Sun Apr 9 02:54:19 2017 +0200

    improve the rendering of databar gradients
    
    Change-Id: Ie4a0e1b9193ca1fe230e8a0a69bef757d442fbee
    Reviewed-on: https://gerrit.libreoffice.org/36311
    Reviewed-by: Markus Mohrhard <[email protected]>
    Tested-by: Markus Mohrhard <[email protected]>

diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 943b4af8fe0e..f896179a6066 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -857,6 +857,7 @@ void drawDataBars(vcl::RenderContext& rRenderContext, const 
ScDataBarInfo* pOldD
     {
         rRenderContext.SetLineColor(pOldDataBarInfo->maColor);
         Gradient aGradient(GradientStyle::Linear, pOldDataBarInfo->maColor, 
COL_TRANSPARENT);
+        aGradient.SetSteps(255);
 
         if(pOldDataBarInfo->mnLength < 0)
             aGradient.SetAngle(2700);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to