[Libreoffice-commits] core.git: oox/source

Regényi Balázs (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 16 13:22:03 UTC 2020


 oox/source/export/drawingml.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 366dcf137287216ee9966f0430ddb12e48e2665d
Author:     Regényi Balázs <regenyi.balazs at nisz.hu>
AuthorDate: Mon Sep 14 13:47:03 2020 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Wed Sep 16 15:21:20 2020 +0200

    clean-up of commit 83c30743eaf44d8eded4a73e3ac2585b5bdbaffc
    
    Change-Id: Ic49b9337e6accea6c9045f1da377eafcb683a1c5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102721
    Reviewed-by: László Németh <nemeth at numbertext.org>
    Tested-by: László Németh <nemeth at numbertext.org>

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 605e85ffa087..2669018d3906 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -926,17 +926,6 @@ void DrawingML::WriteOutline( const Reference<XPropertySet>& rXPropSet, Referenc
             // the line had a scheme color and the user didn't change it
             WriteSolidFill( sColorFillScheme, aTransformations );
         }
-        // tdf#77236: I do not understand why this condition is required.
-        // The original docx document of bug tdf#77236 includes the native colors in both places,
-        // so, I think, we can export this color too (not only schema ones).
-        //else if( aStyleProperties.hasElements() )
-        //{
-        //    if( nColor != nStyleColor )
-        //        // the line style defines some color but it wasn't being used
-        //        WriteSolidFill( nColor );
-        //    // in case the shape used the style color and the user didn't change it,
-        //    // we must not write a <a: solidFill> tag.
-        //}
         else
         {
             WriteSolidFill( nColor, nColorAlpha );


More information about the Libreoffice-commits mailing list