summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-06-25 12:48:19 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-25 12:49:17 +0200
commitb8298f8e191d0bdfb558ec26607bc1ec7076a7f3 (patch)
treecde4f65e91fe8bb27f58c3b2ea5d628b77febd54 /sw
parent90ffe25cdda7f7922ea7def4a5bf99ff1671b0d3 (diff)
DocxAttributeOutput: -Werror=unused-macros, -Werror=sign-compare
Change-Id: I9d75b0a625009d483467042584d2d2f89501cb96
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 03e717b5e80b..4614efc186e5 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -3715,7 +3715,6 @@ void DocxAttributeOutput::CharAnimatedText( const SvxBlinkItem& rBlink )
m_pSerializer->singleElementNS(XML_w, XML_effect, FSNS( XML_w, XML_val ), "none", FSEND );
}
-#define MSWORD_CH_SHADING_CLR 0xD8D8D8 // This color is the same color as the ms-word's character shading color.
#define MSWORD_CH_SHADING_FILL "FFFFFF" // The attribute w:fill of w:shd, for MS-Word's character shading,
#define MSWORD_CH_SHADING_COLOR "auto" // The attribute w:color of w:shd, for MS-Word's character shading,
#define MSWORD_CH_SHADING_VAL "pct15" // The attribute w:value of w:shd, for MS-Word's character shading,
@@ -3723,7 +3722,7 @@ void DocxAttributeOutput::CharAnimatedText( const SvxBlinkItem& rBlink )
void DocxAttributeOutput::CharBackground( const SvxBrushItem& rBrush )
{
// Check if the brush shading pattern is 'PCT15'. If so - write it back to the DOCX
- if (rBrush.GetShadingValue() == ShadingPattern::PCT15)
+ if (rBrush.GetShadingValue() == +ShadingPattern::PCT15)
{
m_pSerializer->singleElementNS( XML_w, XML_shd,
FSNS( XML_w, XML_val ), MSWORD_CH_SHADING_VAL,