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

Miklos Vajna vmiklos at collabora.co.uk
Sun Oct 6 13:15:19 PDT 2013


 sw/source/filter/ww8/docxattributeoutput.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0a1808a6f74a4659c541eb9d499bede0f7587bfb
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sun Oct 6 22:13:34 2013 +0200

    Revert "fix for fdo#65295, gradient issue"
    
    This reverts commit 4a96bc0c0eda8aff6c165bb6a79eb95f2926bb10. The fix
    should be re-considered once it doesn't break
    CppunitTest_sw_ooxmlexport.

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 437681c..8e3c1c3 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -5482,9 +5482,9 @@ void DocxAttributeOutput::FormatFillGradient( const XFillGradientItem& rFillGrad
 
         const XGradient& rGradient = rFillGradient.GetGradientValue();
         OString sStartColor = msfilter::util::ConvertColor(rGradient.GetStartColor());
+        m_pFlyFillAttrList->add(XML_color2, "#" + sStartColor);
         OString sEndColor = msfilter::util::ConvertColor(rGradient.GetEndColor());
-        m_pFlyAttrList->add(XML_fillcolor, "#" + sStartColor);
-        m_pFlyFillAttrList->add(XML_color2, "#" + sEndColor);
+        m_pFlyAttrList->add(XML_fillcolor, "#" + sEndColor);
 
         switch (rGradient.GetGradientStyle())
         {


More information about the Libreoffice-commits mailing list