[Libreoffice-commits] core.git: Branch 'feature/highlighting' - sw/source
Zolnai Tamás
zolnaitamas2000 at gmail.com
Sun Feb 22 03:44:15 PST 2015
sw/source/filter/ww8/ww8atr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6e109259d9e82e86d34a140016423f375a210b24
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date: Sun Feb 22 12:40:59 2015 +0100
Char highlight: DOC export: ignore transparent highlight
Change-Id: I2aa0ac229a22cea0548f210795d996e2f8a37a3b
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index baacf70..afcfd54 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -1283,7 +1283,7 @@ void WW8AttributeOutput::CharBorder( const SvxBorderLine* pAllBorder, const sal_
void WW8AttributeOutput::CharHighlight( const SvxBrushItem& rBrush )
{
- if( m_rWW8Export.bWrtWW8 )
+ if( m_rWW8Export.bWrtWW8 && rBrush.GetColor() != COL_TRANSPARENT )
{
sal_uInt8 nColor = m_rWW8Export.TransCol( rBrush.GetColor() );
// sprmCHighlight
More information about the Libreoffice-commits
mailing list