Kaydet (Commit) b8298f8e authored tarafından Michael Stahl's avatar Michael Stahl

DocxAttributeOutput: -Werror=unused-macros, -Werror=sign-compare

Change-Id: I9d75b0a625009d483467042584d2d2f89501cb96
üst 90ffe25c
...@@ -3715,7 +3715,6 @@ void DocxAttributeOutput::CharAnimatedText( const SvxBlinkItem& rBlink ) ...@@ -3715,7 +3715,6 @@ void DocxAttributeOutput::CharAnimatedText( const SvxBlinkItem& rBlink )
m_pSerializer->singleElementNS(XML_w, XML_effect, FSNS( XML_w, XML_val ), "none", FSEND ); 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_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_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, #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 ) ...@@ -3723,7 +3722,7 @@ void DocxAttributeOutput::CharAnimatedText( const SvxBlinkItem& rBlink )
void DocxAttributeOutput::CharBackground( const SvxBrushItem& rBrush ) void DocxAttributeOutput::CharBackground( const SvxBrushItem& rBrush )
{ {
// Check if the brush shading pattern is 'PCT15'. If so - write it back to the DOCX // 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, m_pSerializer->singleElementNS( XML_w, XML_shd,
FSNS( XML_w, XML_val ), MSWORD_CH_SHADING_VAL, FSNS( XML_w, XML_val ), MSWORD_CH_SHADING_VAL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment