summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2016-02-19 07:48:52 +0800
committerNoel Grandin <noelgrandin@gmail.com>2016-02-19 06:27:33 +0000
commit1b374b2a3080a7191c282f891a562962c872893b (patch)
treecd812386f146b17a7c685a032eb5806dd31c3406
parent9fe9f487a25a15558b77a8afc359e844922f1e83 (diff)
Remove nesting assignments inside the expression.
Change-Id: I88e9dc26f29b429c2d68634e306e0887565bccec Reviewed-on: https://gerrit.libreoffice.org/22494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--sw/source/filter/ww8/wrtw8sty.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index e094f1ebf258..0bac9517b91e 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() ;