diff options
Diffstat (limited to 'sw/source/filter/ww8/wrtw8sty.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index e674c23e6041..fa0aa300710c 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -179,8 +179,8 @@ sal_uInt16 MSWordStyles::GetSlot( const SwFormat* pFormat ) const sal_uInt16 MSWordStyles::BuildGetSlot( const SwFormat& rFormat ) { - sal_uInt16 nRet; - switch ( nRet = rFormat.GetPoolFormatId() ) + sal_uInt16 nRet = rFormat.GetPoolFormatId(); + switch ( nRet ) { case RES_POOLCOLL_STANDARD: nRet = 0; |