sw/source/filter/ww8/rtfattributeoutput.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 60eaa7d7b856bc17b2a49a510be6d3c50851cb92 Author: Miklos Vajna <vmik...@collabora.co.uk> AuthorDate: Tue Sep 25 23:53:06 2018 +0200 Commit: Miklos Vajna <vmik...@collabora.co.uk> CommitDate: Wed Sep 26 12:18:56 2018 +0200 sw: use auto when initializing with a template cast ... ... to avoid duplicating the type name. Change-Id: I98379b35baeccf685bcadecf794e73e91024da0b Reviewed-on: https://gerrit.libreoffice.org/60979 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Jenkins 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits