diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-06 22:13:34 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-06 22:13:34 +0200 |
commit | 0a1808a6f74a4659c541eb9d499bede0f7587bfb (patch) | |
tree | 372ae55e3804702a9a071d616379b7ba3d0fc0bc /sw/source | |
parent | ea4740c83285fb23ab351257582505aa676e01a3 (diff) |
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.
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 437681cee7bb..8e3c1c324441 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()) { |