sw/source/filter/ww8/wrtw8sty.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1b374b2a3080a7191c282f891a562962c872893b Author: Mark Hung <mark...@gmail.com> Date: Fri Feb 19 07:48:52 2016 +0800 Remove nesting assignments inside the expression. Change-Id: I88e9dc26f29b429c2d68634e306e0887565bccec Reviewed-on: https://gerrit.libreoffice.org/22494 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@gmail.com> diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index e094f1e..0bac951 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -290,8 +290,8 @@ void MSWordStyles::BuildStylesTable() for( size_t n = 1; n < rArr2.size(); n++ ) { SwTextFormatColl* pFormat = rArr2[n]; - sal_uInt16 nId ; - m_pFormatA[ nId = BuildGetSlot( *pFormat ) ] = pFormat; + sal_uInt16 nId = BuildGetSlot( *pFormat ) ; + m_pFormatA[ nId ] = pFormat; if ( pFormat->IsAssignedToListLevelOfOutlineStyle() ) { int nLvl = pFormat->GetAssignedOutlineStyleLevel() ; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits