diff options
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 8fba8b326d63..49482a7a8c1f 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -731,12 +731,12 @@ void RtfAttributeOutput::TableBackgrounds( const SwTableLine* pTableLine = pTableBox->GetUpper(); Color aColor = COL_AUTO; - const SvxBrushItem* pTableColorProp + auto pTableColorProp = pTable->GetFrameFormat()->GetAttrSet().GetItem<SvxBrushItem>(RES_BACKGROUND); if (pTableColorProp) aColor = pTableColorProp->GetColor(); - const SvxBrushItem* pRowColorProp + auto pRowColorProp = pTableLine->GetFrameFormat()->GetAttrSet().GetItem<SvxBrushItem>(RES_BACKGROUND); if (pRowColorProp && pRowColorProp->GetColor() != COL_AUTO) aColor = pRowColorProp->GetColor(); |